/* ============================================================
   GLOBAL — DARK THEME BESTIE CAMPUS
   ============================================================ */

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0b1224, #1b213a);
    color: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.login-container,
.register-container {
    width: 100%;
    max-width: 440px;
    padding: 25px;
}

.login-box,
.register-box {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* ============================================================
   LOGO
   ============================================================ */

.login-logo img,
.register-logo img {
    width: 110px;
    display: block;
    margin: 0 auto 15px auto;
}

/* ============================================================
   TITLES
   ============================================================ */

h2 {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 25px;
}

/* ============================================================
   FORM FIELD
   ============================================================ */

.form-group {
    margin-bottom: 18px;
    width: 100%;
}

label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    opacity: 0.8;
}

input, select {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #2e3650;
    background: #141a2e;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.25s;
}

input:focus,
select:focus {
    border-color: #d63384;
    box-shadow: 0 0 10px rgba(214, 51, 132, 0.4);
}

/* Password toggle icon */
.password-field {
    position: relative;
}

.password-field .toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    color: #d63384;
}

/* ============================================================
   BUTTONS
   ============================================================ */

button {
    cursor: pointer;
    transition: 0.25s;
}

.btn-login,
.btn-register,
.btn-next,
.btn-prev {
    width: 100%;
    background: #d63384;
    border: none;
    padding: 14px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(214,51,132,0.4);
    font-weight: 600;
}

.btn-next, .btn-prev {
    width: 48%;
}

.btn-prev {
    background: #39405f;
    box-shadow: none;
}

.btn-next:hover,
.btn-register:hover,
.btn-login:hover {
    background: #e94296;
    box-shadow: 0 0 20px rgba(233,66,150,0.6);
}

.btn-prev:hover {
    background: #4a5274;
}

/* Grouping prev-next */
.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* ============================================================
   FORM STEP (REGISTER)
   ============================================================ */

.form-step {
    display: none;
    animation: fade 0.25s ease;
}

.form-step.active {
    display: block;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LINKS
   ============================================================ */

.register-link,
.login-link,
.login-hint {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.register-link a,
.login-link a,
.login-hint a {
    color: #ff7ebb;
    text-decoration: none;
}

.register-link a:hover,
.login-link a:hover,
.login-hint a:hover {
    text-decoration: underline;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {

    .login-box,
    .register-box {
        padding: 25px 20px;
    }

    h2 {
        font-size: 22px;
    }

    input,
    select {
        font-size: 13px;
    }

    .btn-next, .btn-prev {
        width: 49%;
    }
}
