/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Page background */
body {
  background: linear-gradient(
    75deg,
    rgba(255, 0, 0, 0.6),       /* red */
    rgba(255, 165, 0, 0.6),     /* orange */
    rgba(255, 255, 0, 0.6),     /* yellow */
    rgba(0, 128, 0, 0.6),       /* green */
    rgba(0, 0, 255, 0.6),       /* blue */
    rgba(75, 0, 130, 0.6),      /* indigo */
    rgba(148, 0, 211, 0.6)      /* violet */
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-y: auto;
  padding: 20px;
}

/* Header (Logo centered) */
header {
  text-align: center;
  margin: 20px 0;
}

header .logo {
  width: 500px;
  height: auto;
  margin-bottom: 15px;
}

/* Auth container (Login/Register box) */
.auth-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-width: 400px;
  width: 90%;
  text-align: center;
  margin: 10px auto 30px auto;
}

/* Section titles */
.auth-box h2 {
  margin-bottom: 15px;
  color: #2c3e50;
}

/* Input fields */
.auth-box input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.auth-box input:focus {
  border-color: #673ab7;
  outline: none;
  box-shadow: 0 0 6px rgba(103, 58, 183, 0.4);
}

/* Buttons */
.auth-box button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #673ab7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-box button:hover {
  background: #5e35b1;
}

/* About Us (below login box) */
/* About Us box */
.about {
  margin-left: 15px;    /* shift from extreme left */
  margin-top: 80px;     /* small gap below login box */
  width: fit-content;   /* only as wide as content */
  background: rgba(255, 255, 255, 0.8); 
  padding: 10px 15px;
  border-radius: 8px;
}


.about h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #2c3e50;
  align-self: auto;
}

.about p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Wrapper for password + eye icon */
.input-group {
  position: relative;
}

/* Make room inside the input for the eye on the right */
.input-group input {
  width: 100%;
  padding-right: 40px;  /* space for the 👁️‍🗨️ icon */
}

/* Small inline eye button (overrides big purple .auth-box button) */
.auth-box button.toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  margin-top: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* Instagram link section */
.social-links {
  margin-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.social-links svg {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-links svg:hover {
  transform: scale(1.1);
}

/* 🌐 Footer */
.footer {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #555;
}

.footer a {
  color: #0077b6;
  text-decoration: none;
  margin: 0 5px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer span {
  color: #aaa;
  margin: 0 4px;
}

/* ============================
   PIXMS CSS LOGO (TEXT BASED)
   ============================ */

.pixms-wrapper {
  background: #ffffff;
  padding: 28px 55px;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  display: inline-block;
}

/* Gradient text for PIXMS heading */
.pixms {
  display: inline-block;              /* allows background */
  padding: 10px 25px;                 /* white box padding */
  background: linear-gradient(75deg, red, orange,red, yellow, green, blue, indigo, violet);
    
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: bold;
  text-align: center;
  font-size: 7.2em;

  /* white background behind text */
  background-color: white;
  border-radius: 6px;
}

