
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a12;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.account-main {
    width: 100%;
    max-width: 550px;
    position: relative;
}

.account-glow-1 {
    position: fixed;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle at 30% 30%, #9945ff, #2b1b4e 70%, transparent);
    top: -10%;
    left: -10%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.account-glow-2 {
    position: fixed;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle at 80% 80%, #ff66c7, #281a52 70%, transparent);
    bottom: -10%;
    right: -10%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
}

.account-card {
    background: rgba(18, 15, 40, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.account-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .account-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, #ffffff, #e0c3ff, #b1d0ff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin-bottom: 0.5rem;
    }

    .account-header p {
        color: #cfc7ff;
        font-size: 0.95rem;
    }

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #d4c9ff;
        font-size: 0.9rem;
        font-weight: 500;
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    color: #9d8bff;
    font-size: 1rem;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    background: rgba(10, 8, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3rem;
    font-size: 0.95rem;
    color: white;
    transition: all 0.2s;
    padding-right: 3rem;
}

    .form-control:focus {
        outline: none;
        border-color: #b388ff;
        box-shadow: 0 0 0 3px rgba(140, 70, 255, 0.3);
    }

/* Password Toggle Button */
.password-toggle {
    position: absolute;
    right: 1.2rem;
    color: #9d8bff;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    z-index: 1;
}

    .password-toggle:hover {
        color: #b388ff;
    }

.form-row {
    display: flex;
    gap: 1rem;
}

    .form-row .form-group {
        flex: 1;
    }

.validation-message {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

    .validation-message.valid {
        color: #52d68a;
    }

    .validation-message.invalid {
        color: #ff6b6b;
    }

.password-strength {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

    .strength-bar.weak {
        background: #ff6b6b;
    }

    .strength-bar.medium {
        background: #ffb347;
    }

    .strength-bar.strong {
        background: #52d68a;
    }

.verification-section {
    background: rgba(140, 70, 255, 0.1);
    border: 1px dashed #b388ff;
    border-radius: 1.5rem;
    padding: 1.2rem;
    margin: 1.2rem 0;
}

.code-display {
    text-align: center;
    margin-bottom: 1rem;
}

    .code-display span {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 6px;
        background: linear-gradient(145deg, #ffd966, #b388ff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        padding: 0.5rem 1rem;
        border: 2px dashed #b388ff;
        border-radius: 1rem;
        display: inline-block;
    }

.code-input-group {
    display: flex;
    gap: 0.5rem;
}

    .code-input-group .form-control {
        flex: 1;
        text-align: center;
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

.btn-refresh {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b388ff;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-refresh:hover {
        background: rgba(140, 70, 255, 0.3);
        transform: rotate(180deg);
    }

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(145deg, #8f6eff, #b35eeb);
    border: none;
    border-radius: 3rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin: 1rem 0;
}

    .btn-submit:hover:not(:disabled) {
        transform: scale(1.02);
        box-shadow: 0 10px 25px rgba(140, 70, 255, 0.5);
    }

    .btn-submit:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.switch-prompt {
    text-align: center;
    color: #b1a3e6;
    margin-top: 1rem;
}

    .switch-prompt a {
        color: white;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid #b286ff;
    }

.remember-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

    .remember-check input {
        width: 1rem;
        height: 1rem;
        accent-color: #8f6eff;
    }

.field-validation-error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
    margin-left: 1rem;
}

.validation-summary-errors {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    border-radius: 1rem;
    padding: 0.8rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .account-card {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .code-display span {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
}


