/* =========================================
   ГЛОБАЛЬНІ НАЛАШТУВАННЯ ТА СКРОЛБАРИ
   ========================================= */
::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
* { -ms-overflow-style: none !important; scrollbar-width: none !important; }

.top-spacing { height: 40px; }

/* =========================================
   ЗАГАЛЬНА СІТКА (GLASSMORPHISM)
   ========================================= */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
}

.auth-grid-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 15px;
}

.text-formatted {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* =========================================
   ЛІВА КОЛОНКА (ІНФОРМАЦІЯ)
   ========================================= */
.auth-showcase-col {
    display: flex;
    flex-direction: column;
}

.auth-lead {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.auth-points-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.auth-point-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-point-icon {
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-point-text {
    display: flex;
    flex-direction: column;
}

.auth-point-text strong {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.auth-point-text small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.auth-showcase-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================================
   ПРАВА КОЛОНКА (ФОРМА)
   ========================================= */
.auth-form-col {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
}

.auth-form-head {
    margin-bottom: 30px;
    text-align: center;
}

.auth-form-head h2 {
    font-size: 1.8rem;
}

/* ІНПУТИ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #f97316;
}

/* Опції під паролем (Чекбокс та Забув пароль) */
.auth-row-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.custom-checkbox input:checked + .checkmark {
    background: #f97316;
    border-color: #f97316;
}

.custom-checkbox input:checked + .checkmark::after {
    content: "✔";
    color: #fff;
    font-size: 12px;
}

.check-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.forgot-link {
    color: #f97316;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Розділювач "або" */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.3);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.auth-footer-links {
    text-align: center;
}

.auth-footer-links p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* =========================================
   КНОПКИ ТА АЛЕРТИ
   ========================================= */
.full-width { width: 85%; }
.text-center { justify-content: center; text-align: center; display: flex; }

.btn-lg {
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #f97316;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover {
    border-color: #f97316;
    background: rgba(255, 255, 255, 0.08);
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-alert.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.auth-alert.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* =========================================
   МОДАЛЬНЕ ВІКНО (АКАУНТ ДЕАКТИВОВАНО)
   ========================================= */
.account-disabled-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.account-disabled-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.account-disabled-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 12, 0.72);
    backdrop-filter: blur(4px);
}

.account-disabled-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 460px);
    margin: 8vh auto 0;
    background: linear-gradient(180deg, #171a22 0%, #11141b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 28px 24px 24px;
    color: #fff;
    transform: translateY(18px) scale(.98);
    transition: transform .22s ease;
}

.account-disabled-modal.is-open .account-disabled-dialog {
    transform: translateY(0) scale(1);
}

.account-disabled-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-disabled-close:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.05);
}

.account-disabled-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.18));
    color: #ffb36b;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.account-disabled-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: #ffb36b;
    font-size: 0.85rem;
    font-weight: 700;
}

.account-disabled-dialog h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    line-height: 1.2;
}

.account-disabled-dialog p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.account-disabled-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.account-disabled-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.58);
    text-align: center;
}

body.modal-open {
    overflow: hidden;
}

/* =========================================
   АДАПТАЦІЯ (МОБІЛЬНІ)
   ========================================= */
@media (max-width: 992px) {
    .auth-grid-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .auth-grid-card { padding: 20px; border: none; background: transparent; }
    .auth-form-col { padding: 25px 20px; }
    h2 { font-size: 1.8rem; }

    .account-disabled-dialog {
        width: calc(100vw - 30px);
        margin-top: 10vh;
        padding: 24px 20px;
    }

    .account-disabled-dialog h3 { font-size: 1.4rem; }
    .auth-showcase-actions { flex-direction: column; }
    .btn-lg { width: 100; justify-content: center; }
}S
