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

body {
    font-family: "Inter", sans-serif;
    background: #000000;
    color: #edf2fb;
    line-height: 1.5;
    padding: 1.2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-soft {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 217, 102, 0.03) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(255, 217, 102, 0.02) 0%,
            transparent 45%
        );
    z-index: 0;
}

.main-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 5;
    margin: 0 auto;
}

/* ----- LOGIN CARD · PREMIUM GLASS ----- */
.login-card-premium {
    background: #5a0303;
    padding: 2.8rem 2.5rem;
    border: 1px solid #283040;
    box-shadow: 0 20px 35px -10px #00000060;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.login-card-premium::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(255, 217, 102, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

/* ----- LOGO ----- */
.logo-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.5px;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.logo-premium i {
    font-size: 2.2rem;
    color: #ffd966;
    filter: drop-shadow(0 4px 8px #ffd96640);
}

.tagline-premium {
    text-align: center;
    font-size: 0.85rem;
    color: #95aacf;
    margin-bottom: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #263040;
    padding-bottom: 1.5rem;
}

/* ----- FORM HEADER ----- */
.form-header-premium {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header-premium h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.form-header-premium p {
    color: #95aacf;
    font-size: 0.9rem;
}

/* ----- FORM ELEMENTS ----- */
.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #95aacf;
    margin-bottom: 0.1rem;
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-group i:first-child {
    position: absolute;
    left: 18px;
    color: #ffd966;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.form-control {
    width: 100%;
    height: 40px;
    padding: 0 15px 0 52px;
    border: 1.5px solid #2e3a4e;
    border-radius: 10px;
    font-size: 0.75rem;
    font-family: "Inter", sans-serif;
    background: #1b2333;
    transition: 0.15s ease;
    color: white;
}

.form-control:focus {
    outline: none;
    border-color: #ffd966;
    box-shadow: 0 0 0 3px rgba(255, 217, 102, 0.1);
    background: #1e263a;
}

.form-control::placeholder {
    color: #65758b;
    font-weight: 400;
}

.toggle-password {
    position: absolute;
    right: 18px;
    color: #95aacf;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.15s;
    background: transparent;
    padding: 0 4px;
    z-index: 2;
}

.toggle-password:hover {
    color: #ffd966;
}

/* ----- FORGOT PASSWORD ----- */
.form-row-premium {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.8rem;
}

.forgot-link-premium {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffd966;
    text-decoration: none;
    border-bottom: 1px dashed #ffd96660;
    padding-bottom: 2px;
    transition: 0.15s;
}

.forgot-link-premium:hover {
    color: #ffc94d;
    border-bottom-style: solid;
}

/* ----- BUTTON ----- */
.btn-login-premium {
    width: 100%;
    height: 40px;
    background: #ffd966;
    border: none;
    border-radius: 10px;
    color: #0a0e1a;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.15s;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.btn-login-premium:hover {
    background: #ffc94d;
    transform: scale(1.01);
    box-shadow: 0 8px 20px #ffd96640;
}

.btn-login-premium i {
    font-size: 1.2rem;
}

/* ----- SIGNUP LINK ----- */
.signup-link-premium {
    text-align: center;
    font-size: 0.85rem;
    color: #95aacf;
}

.signup-link-premium a {
    color: #ffd966;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
    border-bottom: 1px solid #ffd96640;
}

.signup-link-premium a:hover {
    color: #ffc94d;
    border-bottom-color: #ffc94d;
}

/* ----- VALIDATION ----- */
.invalid-feedback {
    display: block;
    font-size: 0.7rem;
    color: #ffb3b3;
    margin-top: 0.5rem;
    font-weight: 600;
    padding-left: 0.5rem;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 500px) {
    .login-card-premium {
        padding: 2rem 1.5rem;
    }

    .logo-premium {
        font-size: 1.7rem;
    }

    .form-header-premium h2 {
        font-size: 1.7rem;
    }

    .form-control {
        height: 56px;
    }

    .btn-login-premium {
        height: 56px;
    }
}

@media (max-width: 380px) {
    .login-card-premium {
        padding: 1.8rem 1.2rem;
    }

    .logo-premium {
        font-size: 1.5rem;
    }

    .form-header-premium h2 {
        font-size: 1.5rem;
    }
}

/* ----- ANIMATIONS ----- */
.fade-up {
    animation: fadeSlide 0.35s ease forwards;
    opacity: 0;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group,
.form-row-premium,
.btn-login-premium,
.signup-link-premium {
    animation: fadeSlide 0.35s ease forwards;
    opacity: 0;
}

.form-group:nth-child(1) {
    animation-delay: 0.05s;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-row-premium {
    animation-delay: 0.15s;
}

.btn-login-premium {
    animation-delay: 0.2s;
}

.signup-link-premium {
    animation-delay: 0.25s;
}

/* ---------- END OF LOGIN STUDIO ---------- */
/* ---------- SIGNUP STUDIO ---------- */

.register-card-premium {
    background: #5a0303;
    padding: 2.8rem 2.5rem;
    border: 1px solid #ffffff;
    box-shadow: 0 20px 35px -10px #00000060;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.register-card-premium::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(255, 217, 102, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

/* ----- LOGO ----- */
.logo-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.5px;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.logo-premium i {
    font-size: 2.2rem;
    color: #ffd966;
    filter: drop-shadow(0 4px 8px #ffd96640);
}

.error-message {
    display: block;
    font-size: 0.7rem;
    color: #ffb3b3;
    margin-top: 0.5rem;
    font-weight: 600;
    padding-left: 0.5rem;
}

.btn-register-premium {
    width: 100%;
    height: 40px;
    background: #ffd966;
    border: none;
    border-radius: 10px;
    color: #0a0e1a;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.15s;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.btn-register-premium:hover {
    background: #ffc94d;
    transform: scale(1.01);
    box-shadow: 0 8px 20px #ffd96640;
}

.btn-register-premium i {
    font-size: 1.2rem;
}

.login-link-premium {
    text-align: center;
    font-size: 0.85rem;
    color: #95aacf;
}

.login-link-premium a {
    color: #ffd966;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
    border-bottom: 1px solid #ffd96640;
}

.login-link-premium a:hover {
    color: #ffc94d;
    border-bottom-color: #ffc94d;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 550px) {
    .register-card-premium {
        padding: 2rem 1.5rem;
    }

    .logo-premium {
        font-size: 1.7rem;
    }
    .form-control {
        height: 56px;
    }

    .btn-register-premium {
        height: 56px;
    }
}

@media (max-width: 380px) {
    .register-card-premium {
        padding: 1.8rem 1.2rem;
    }

    .logo-premium {
        font-size: 1.5rem;
    }
}

/* ----- ANIMATIONS ----- */
.fade-up {
    animation: fadeSlide 0.35s ease forwards;
    opacity: 0;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group,
.btn-register-premium,
.login-link-premium,
.info-note-premium {
    animation: fadeSlide 0.35s ease forwards;
    opacity: 0;
}

.form-group:nth-child(1) {
    animation-delay: 0.05s;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group:nth-child(3) {
    animation-delay: 0.15s;
}

.form-group:nth-child(4) {
    animation-delay: 0.2s;
}

.btn-register-premium {
    animation-delay: 0.25s;
}

.login-link-premium {
    animation-delay: 0.3s;
}
