:root{
    /* bba.kg style: navy + gold */
    --navy-900:#071A2D;
    --navy-800:#0B2238;
    --navy-700:#12304D;

    --gold-main:#C9A24A;
    --gold-dark:#A8842E;
    --gold-soft:#F6E9C9;

    --bg-page:#F4F6F8;
    --bg-card:#FFFFFF;

    --border-soft:#E6E9EE;

    --text-main:#101827;
    --text-muted:#667085;

    --shadow: 0 18px 55px rgba(16, 24, 39, 0.10);
}
body{
    font-family: "Open Sans", sans-serif;
}
header .wrap{
    background-color: #fff;
}
.admin_page .logo{
    margin-left: 0;
    text-align: left;
}
.logo{
    display: block;
    margin: 0 auto;
    text-align: center;
}
header{
    padding: 10px 0;
}
header.fixed{
    position: static;
}
header .logo a{
    text-decoration: none;
}
header .logo img{
    max-width: 200px;
    height: 100px;
}
.language-switcher{
    text-align: right;
    margin-bottom: 0;
}
.language-switcher li{
    display: inline-block;
    margin-left: 10px;
}
.language-switcher li a{
    text-decoration: none;
    color: #000;
    font-size: 18px;
}
.language-switcher li.current a{
    color: var(--gold-main);
}

.auth-links a{
    color: var(--navy-800);
}

.auth-links a:hover{
    color: var(--gold-main);
}
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 16px 60px;
    background:
        radial-gradient(circle at 10% 0%, rgba(201,162,74,0.10) 0%, rgba(201,162,74,0.00) 35%),
        radial-gradient(circle at 90% 10%, rgba(7,26,45,0.10) 0%, rgba(7,26,45,0.00) 40%),
        var(--bg-page);
}

.auth-logo img {
    max-width: 220px;
    margin-bottom: 32px;
}

.auth-grid {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.auth-card {
    padding: 28px 32px 30px;
    background: var(--bg-card);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    border-radius: 22px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-field label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.auth-field input {
    width: 100%;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    background: #FBFCFE;
    border: 1px solid var(--border-soft);
}

.auth-field input:focus {
    outline: none;
    border-color: rgba(201,162,74,0.85);
    box-shadow: 0 0 0 3px rgba(201,162,74,0.18);
    background: #FFFFFF;
}

.auth-password {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-password input {
    padding-right: 40px;
}

.auth-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    padding: 4px;
    width: auto;
}

.auth-password-toggle:hover {
    color: var(--green-dark);
}

.auth-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 6px 0 4px;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-checkbox input {
    width: auto;
    height: auto;
}

.auth-btn {
    margin-top: 8px;
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 11px 18px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.auth-btn-secondary{
    background: transparent;
    color: var(--navy-900);
    border: 1px solid rgba(7,26,45,0.25);
}

.auth-btn-secondary:hover{
    background: rgba(7,26,45,0.06);
}

.auth-links {
    margin-top: 10px;
    font-size: 13px;
    text-align: right;
}

.auth-links a {
    color: var(--green-dark);
    text-decoration: none;
}
.auth-links a:hover {
    text-decoration: underline;
}

.auth-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #D43636;
}
.dashboard-item a {
    text-decoration: none;
    color: #000;
}
/* Мобильная адаптация */
@media (max-width: 992px) {
    .auth-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 22px 18px 24px;
        border-radius: 18px;
    }
    .auth-title {
        font-size: 24px;
    }
}
