@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0d0f1b, #151928);
    color: #e0e6f1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  .login-card-wrapper {
    width: 100%;
    max-width: 500px;
    background-color: #1a1d2b;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #2f3345;
  }
  .brand-logo img {
    width: 300px;
    margin-bottom: 32px;
  }
  form {
    width: 100%;
  }
  .input-group {
    position: relative;
    margin-bottom: 24px;
  }
  .input-group svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #7d88a3;
  }
  input[type="username"],
    input[type="name"],
    input[type="email"],
    input[type="website"],
  input[type="password"] {
    width: 100%;
    padding: 12px 16px 12px 46px;
    background: #24293b;
    border: 1px solid #3e455e;
    border-radius: 10px;
    font-size: 18px;
    color: #f0f4fc;
    transition: border-color 0.3s, background 0.3s;
  }

  input[type="username"]::placeholder,
  input[type="name"]::placeholder,
  input[type="email"]::placeholder,
  input[type="website"]::placeholder,
  input[type="password"]::placeholder {
    color: #9ba4bb;
  }
  input[type="username"]:focus,
  input[type="name"]:focus,
  input[type="email"]:focus,
  input[type="website"]:focus,
input[type="password"]:focus {
  border-color: #00e0ff;
  background: #2f343f;
}
  .check-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 28px;
    font-size: 0.9rem;
  }
  .checkbox-group label {
    color: #a9b3c2;
    font-weight: 500;
  }
  input[type="checkbox"] {
    accent-color: #8a4dff;
    margin-right: 8px;
  }
  .check-forgot a,
.new-account-link {
  color: #a9b3c2;
}
.check-forgot a:hover,
.new-account-link:hover {
  color: #c7d3f1;
}
  button[type="submit"] {
    width: 100%;
    background: linear-gradient(146deg, #6360B8, #82B8D1);
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #c7d3f1;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.3s;
  }

 
button[type="submit"]:hover {
   background: linear-gradient(330deg, #6360B8, #82B8D1);
}
  .social-login {
    margin-top: 30px;
    text-align: center;
  }
  .social-login p {
    margin-bottom: 12px;
    color: #9aa5b6;
    font-weight: 500;
  }
  .social-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  .social-button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
  }
  .social-button:hover {
    transform: scale(1.1);
  }
  .social-button.google {
    background: #ffffff;
    color: #000;
  }
  .social-button.facebook {
    background: #4267B2;
    color: #fff;
  }
  .social-icon {
    width: 20px;
    height: 20px;
  }
  .new-account-link {
    margin-top: 24px;
    font-size: 0.95rem;
    color: #a9b3c2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
  }
  .new-account-link:hover {
    color: #c7d3f1;
  }
  @media (max-width: 500px) {
    .login-card-wrapper {
      padding: 36px 20px;
    }
  }

  
    .otp-inputs {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 28px;
    }

    .otp-inputs input {
      width: 48px;
      height: 56px;
      font-size: 24px;
      text-align: center;
      background: #24293b;
      border: 1px solid #3e455e;
      border-radius: 10px;
      color: #f0f4fc;
      outline: none;
      transition: border-color 0.3s, background 0.3s;
    }

    .otp-inputs input:focus {
      border-color: #00e0ff;
      background: #2f343f;
    }

    button[type="submit"] {
      width: 100%;
      background: linear-gradient(146deg, #6360B8, #82B8D1);
      border: none;
      padding: 14px;
      font-size: 1rem;
      font-weight: 700;
      color: #c7d3f1;
      border-radius: 10px;
      cursor: pointer;
      text-transform: uppercase;
      transition: background 0.3s;
    }

    button[type="submit"]:hover {
      background: linear-gradient(330deg, #6360B8, #82B8D1);
    }

    .resend-otp {
      margin-top: 20px;
      font-size: 0.95rem;
      color: #a9b3c2;
      text-align: center;
    }

    .resend-otp a {
      color: #82b8d1;
      font-weight: 600;
      text-decoration: none;
    }

    .resend-otp a:hover {
      color: #c7d3f1;
    }

    .otp-card-wrapper {
      width: 100%;
      max-width: 500px;
      background-color: #1a1d2b;
      border-radius: 20px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
      padding: 48px 36px;
      display: flex;
      flex-direction: column;
      align-items: center;
      border: 1px solid #2f3345;
    }
    @media (max-width: 500px) {
      .otp-inputs {
        gap: 8px;
      }

      .otp-inputs input {
        width: 40px;
        height: 52px;
      }

      .otp-card-wrapper {
        padding: 36px 20px;
      }
    }


    .error-box {
    margin: 20px auto;
    padding: 12px;
    max-width: 360px;
    border: 1px solid #f44336;
    background: #ffe6e6;
    color: #d8000c;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.success-box {
    margin: 20px auto;
    padding: 12px;
    max-width: 360px;
    border: 1px solid #4CAF50;
    background: #e6ffea;
    color: #2e7d32;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}


.flash-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.flash-message.success {
    background: rgba(0, 255, 128, 0.12);
    color: #00ffae;
    border: 1px solid #00ffae;
}

.flash-message.danger {
    background: rgba(255, 76, 76, 0.12);
    color: #ff4c4c;
    border: 1px solid #ff4c4c;
}

/* Optional fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
