/* ===============================
   HAZEL SIGNUP
   Black & Gold Theme
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --gold-light: #f3df9b;
    --gold-dark: #9c7924;

    --black: #050505;
    --card: rgba(15, 15, 15, 0.88);

    --text: #f5f1e8;
    --muted: #aaa69b;

    --border: rgba(212, 175, 55, 0.25);

    --danger: #ff7777;
    --success: #9be28c;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            rgba(212, 175, 55, 0.10),
            transparent 35%
        ),
        #050505;

    color: var(--text);

    font-family: "Poppins", sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow-x: hidden;
}

/* ===============================
   PARTICLES
================================ */

#particles-js {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}

/* ===============================
   CONTAINER
================================ */

.signup-container {
    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    position: relative;
    z-index: 2;
}

/* ===============================
   CARD
================================ */

.signup-card {
    width: 100%;
    max-width: 430px;

    padding: 35px 30px 25px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 24px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.65),
        0 0 35px rgba(212, 175, 55, 0.08);

    text-align: center;
}

/* ===============================
   LOGO
================================ */

.logo {
    width: 68px;
    height: 68px;

    margin: 0 auto 15px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--gold);

    font-size: 27px;

    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.18);

    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow:
            0 0 15px rgba(212, 175, 55, 0.15);
    }

    50% {
        box-shadow:
            0 0 28px rgba(212, 175, 55, 0.30);
    }
}

/* ===============================
   HEADING
================================ */

h1 {
    font-family: "Playfair Display", serif;

    font-size: 32px;
    letter-spacing: 4px;

    color: var(--gold-light);

    margin-bottom: 5px;
}

.subtitle {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 28px;
}

/* ===============================
   INPUTS
================================ */

.input-group {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;

    margin-top: 15px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 13px;

    overflow: hidden; /* important */

    transition: 0.25s ease;
}

.input-group > i {
    flex: 0 0 48px;
    width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gold);
    font-size: 15px;

    box-sizing: border-box;
}

.input-group input {
    min-width: 0;
    flex: 1 1 auto;

    height: 100%;
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--text);

    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.password-group {
    position: relative;
}

.password-toggle {
    flex: 0 0 48px;

    width: 48px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    outline: none;

    background: transparent;

    color: #77736b;

    cursor: pointer;

    font-size: 14px;
}

/* ===============================
   PASSWORD TOGGLE
================================ */

.password-group {
    position: relative;
}

.password-toggle {
    width: 48px;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #77736b;

    cursor: pointer;

    font-size: 14px;

    transition: 0.2s;
}

.password-toggle:hover {
    color: var(--gold);
}

/* ===============================
   HAZEL ID INFO
================================ */

.hazel-id-info {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

    padding: 13px;

    text-align: left;

    border-radius: 13px;

    border: 1px solid rgba(212, 175, 55, 0.16);

    background: rgba(212, 175, 55, 0.035);
}

.hazel-id-info > i {
    color: var(--gold);

    font-size: 19px;
}

.hazel-id-info strong {
    display: block;

    color: var(--gold-light);

    font-size: 12px;

    letter-spacing: 1px;
}

.hazel-id-info span {
    display: block;

    color: #858078;

    font-size: 10px;

    margin-top: 2px;

    line-height: 1.5;
}

/* ===============================
   MESSAGE
================================ */

.message {
    display: none;

    margin-top: 15px;

    padding: 10px 12px;

    border-radius: 10px;

    font-size: 11px;

    line-height: 1.5;
}

.message.show {
    display: block;
}

.message.error {
    color: var(--danger);

    background: rgba(255, 80, 80, 0.07);

    border: 1px solid rgba(255, 80, 80, 0.15);
}

.message.success {
    color: var(--success);

    background: rgba(100, 220, 100, 0.07);

    border: 1px solid rgba(100, 220, 100, 0.15);
}

/* ===============================
   SIGNUP BUTTON
================================ */

.signup-btn {
    width: 100%;

    height: 52px;

    margin-top: 20px;

    border: none;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #d4af37,
        #b89227
    );

    color: #090909;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition: 0.25s ease;

    box-shadow:
        0 8px 20px rgba(212, 175, 55, 0.14);
}

.signup-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(212, 175, 55, 0.23);
}

.signup-btn:active {
    transform: translateY(0);
}

.signup-btn:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}

/* ===============================
   LOGIN LINK
================================ */

.login-link {
    margin-top: 23px;

    color: #77736b;

    font-size: 12px;
}

.login-link a {
    color: var(--gold-light);

    text-decoration: none;

    margin-left: 4px;

    font-weight: 500;
}

.login-link a:hover {
    color: var(--gold);
}

/* ===============================
   FOOTER
================================ */

.footer {
    margin-top: 25px;

    color: #4f4c47;

    font-size: 9px;

    letter-spacing: 1px;
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 480px) {

    .signup-container {
        padding: 15px;
    }

    .signup-card {
        padding: 30px 20px 22px;

        border-radius: 21px;
    }

    h1 {
        font-size: 29px;
    }

    .subtitle {
        margin-bottom: 22px;
    }
  }
