html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: radial-gradient(
            circle at 20% 20%,
            rgba(59, 130, 246, .12),
            transparent 35%
    ),
    radial-gradient(
            circle at 80% 80%,
            rgba(124, 58, 237, .12),
            transparent 35%
    ),
    #121212;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card {
    background: #1e1e1e;
    border: 1px solid #343a40;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.brand {
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.brand i {
    color: #3b82f6;
}

.auth-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 25px;
    background: linear-gradient(
            135deg,
            #3b82f6,
            #7c3aed
    );
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, .3);
}

.form-control {
    background: #151515;
    border: 1px solid #3a3a3a;
    color: white;
    border-radius: 12px;
    padding: 13px 15px;
}

.form-control:focus {
    background: #151515;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .15);
}

.form-control::placeholder {
    color: #777;
}

.btn-primary {
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-weight: 600;
    background: linear-gradient(
            135deg,
            #3b82f6,
            #7c3aed
    );
}

.btn-primary:hover {
    opacity: .92;
}

.auth-link {
    color: #60a5fa;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* =========================
    Language Switcher
    ========================= */
.language-switcher {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    gap: 1px;
    background: #151515;
    border: 1px solid #343a40;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5);
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 42px;
    height: 25px;
    padding: 0 6px;
    border-radius: 999px;
    color: #8b929a;
    text-decoration: none;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: background .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .15s ease;
}

.language-option:hover {
    color: #fff;
}

.language-option.active {
    color: #fff;
    background: linear-gradient(
            135deg,
            #3b82f6,
            #7c3aed
    );
    box-shadow: 0 2px 6px rgba(59, 130, 246, .25);
}

.language-option:active {
    transform: scale(.94);
}

.language-flag {
    font-size: .8rem;
    line-height: 1;
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 4px;
}

@media (max-width: 576px) {
    .brand {
        font-size: 1.2rem !important;
    }
}

/*@media (max-width: 2500px) {*/
/*    .brand {*/
/*        font-size: 1.0rem !important;*/
/*    }*/
/*}*/
