/* ============================================
   LK ADDITIONS — Loyalty, Bookings, Empty States, Modals, Contact
   Metry.Group Design System
   ============================================ */

/* === EMPTY STATES === */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 200px;
    background: #E7E3DA;
    border-radius: 18px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.empty-state-icon {
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-state-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #261C15;
    margin-bottom: 12px;
}

.empty-state-text {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(38, 28, 21, 0.6);
    max-width: 400px;
    margin-bottom: 24px;
}

.empty-state-text a.link-accent {
    color: #9C4124;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.empty-state-text a.link-accent:hover {
    color: #261C15;
}

.empty-state-btn {
    font-size: 14px !important;
    padding: 12px 28px !important;
}

/* === LOYALTY SECTION === */
.loyalty-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.loyalty-status-card {
    background: #E7E3DA;
    border-radius: 18px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.loyalty-status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.loyalty-status-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loyalty-level-badge {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 18px;
    padding: 6px 18px;
    border-radius: 30px;
    display: inline-block;
    width: fit-content;
}

.loyalty-level-badge.newcomer {
    background: rgba(156, 65, 36, 0.1);
    color: #9C4124;
}

.loyalty-level-badge.loyal {
    background: rgba(156, 65, 36, 0.2);
    color: #9C4124;
}

.loyalty-level-badge.vip {
    background: linear-gradient(135deg, #9C4124, #D4613A);
    color: #fff;
}

.loyalty-balance {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loyalty-balance-label {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: rgba(38, 28, 21, 0.6);
}

.loyalty-balance-value {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #261C15;
}

.btn-how-bonuses {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1.5px solid #9C4124;
    color: #9C4124;
    border-radius: 30px;
    padding: 8px 18px;
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-how-bonuses:hover {
    background: rgba(156, 65, 36, 0.08);
}

/* Progress bar */
.loyalty-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loyalty-progress-info {
    display: flex;
    justify-content: space-between;
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: rgba(38, 28, 21, 0.7);
}

.loyalty-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(38, 28, 21, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loyalty-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9C4124, #D4613A);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Loyalty tiers */
.loyalty-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.loyalty-tier {
    background: #E7E3DA;
    border-radius: 18px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.loyalty-tier.active {
    border-color: #9C4124;
    box-shadow: 0px 0px 15px rgba(156, 65, 36, 0.2);
}

.loyalty-tier:hover {
    transform: translateY(-2px);
}

.loyalty-tier-icon {
    font-size: 32px;
    margin-bottom: 4px;
}

.loyalty-tier-name {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #261C15;
}

.loyalty-tier-condition {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: rgba(38, 28, 21, 0.5);
}

.loyalty-tier-percent {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #9C4124;
}

.loyalty-tier-desc {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: rgba(38, 28, 21, 0.5);
}

/* Loyalty history */
.loyalty-history {
    background: #E7E3DA;
    border-radius: 18px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    padding: 24px;
}

.loyalty-history-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #261C15;
    margin-bottom: 16px;
}

.loyalty-history-empty {
    text-align: center;
    padding: 30px;
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: rgba(38, 28, 21, 0.5);
}

.loyalty-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(38, 28, 21, 0.08);
}

.loyalty-history-item:last-child {
    border-bottom: none;
}

.loyalty-history-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.loyalty-history-item-title {
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #261C15;
}

.loyalty-history-item-date {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: rgba(38, 28, 21, 0.5);
}

.loyalty-history-item-amount {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.loyalty-history-item-amount.positive {
    color: #2E7D32;
}

.loyalty-history-item-amount.negative {
    color: #9C4124;
}

/* === BOOKING CARDS (catalog-style, идентично "История просмотров") === */
.booking-card-wrap { /* наследует .metry-card стили */ }

.booking-card-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 4px;
}

.booking-status-active {
    background: rgba(46, 125, 50, 0.9);
    color: #fff;
}

.booking-status-completed {
    background: rgba(38, 28, 21, 0.7);
    color: #fff;
}

.booking-dates-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.booking-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.booking-date-label {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: rgba(38, 28, 21, 0.5);
}

.booking-date-value {
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #261C15;
}

.booking-date-divider {
    font-size: 16px;
    color: rgba(38, 28, 21, 0.3);
}

.booking-card-bonus {
    text-align: right;
}

.booking-card-bonus span {
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #2E7D32;
    background: rgba(46, 125, 50, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
}

/* === CONTACTS SECTION (from contacts page) === */
.metry-contacts { font-family: "NT Somic", sans-serif; color: #261C15; }
.metry-contacts__main { display: flex; gap: 30px; align-items: stretch; margin-bottom: 30px; }
.metry-contacts__info { flex: 0 0 340px; border: 1px solid #261C15; border-radius: 12px; padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; background: transparent; }
.metry-contacts__info-label { font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: #261C15; opacity: 0.6; margin-bottom: 4px; line-height: 1.4; }
.metry-contacts__info-value { font-size: 18px; font-weight: 500; color: #261C15; line-height: 1.4; margin: 0; }
.metry-contacts__info-value a { color: #261C15; text-decoration: none; transition: color 0.2s ease; }
.metry-contacts__info-value a:hover { color: #9C4124; }
.metry-contacts__info-sub { font-size: 14px; font-weight: 400; color: #9C4124; margin-top: 2px; line-height: 1.4; }
.metry-contacts__socials { display: flex; gap: 8px; margin-top: 8px; }
.metry-contacts__social-link { display: block; width: 47px; height: 47px; transition: opacity 0.2s ease, transform 0.2s ease; text-decoration: none; }
.metry-contacts__social-link:hover { opacity: 0.8; transform: translateY(-2px); }
.metry-contacts__social-link svg { width: 47px; height: 47px; display: block; }
.metry-contacts__map { flex: 1; min-height: 400px; border-radius: 12px; overflow: hidden; position: relative; }
.metry-contacts__map > div { height: 100%; }
.metry-contacts__map iframe { width: 100%; height: 100%; min-height: 400px; border: none; border-radius: 12px; display: block; }
.metry-contacts__banner { margin-top: 30px; }
.metry-contacts__banner-inner { background: #261C15; border-radius: 16px; padding: 50px 48px; position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.metry-contacts__banner-bg { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; pointer-events: none; z-index: 0; background-repeat: no-repeat; background-position: right center; background-size: contain; opacity: 0.12; }
.metry-contacts__banner-title { font-family: "Unbounded", sans-serif; font-size: 30px; font-weight: 400; color: #FFFFFF; margin: 0 0 12px 0; position: relative; z-index: 1; }
.metry-contacts__banner-text { font-family: "NT Somic", sans-serif; font-size: 16px; font-weight: 300; color: #FFFFFF; opacity: 0.7; margin: 0 0 24px 0; max-width: 550px; line-height: 1.6; position: relative; z-index: 1; }
button.metry-contacts__banner-btn, .metry-contacts__banner-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; background: #9C4124; color: #FFFFFF; font-family: "NT Somic", sans-serif; font-size: 15px; font-weight: 400; border-radius: 8px; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer; position: relative; z-index: 1; white-space: nowrap; width: auto; max-width: fit-content; }
button.metry-contacts__banner-btn:hover, .metry-contacts__banner-btn:hover { background: #7d3419; color: #FFFFFF; }
/* Contact Form Modal */
.metry-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(38, 28, 21, 0.55); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.metry-modal-overlay.active { opacity: 1; visibility: visible; }
.metry-modal { background: #E7E3DA; border-radius: 20px; padding: 44px 40px 36px; max-width: 520px; width: 90%; position: relative; transform: translateY(20px); transition: transform 0.25s ease; }
.metry-modal-overlay.active .metry-modal { transform: translateY(0); }
button.metry-modal__close, .metry-modal__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s; color: #261C15; padding: 0; }
button.metry-modal__close:hover, .metry-modal__close:hover { background: rgba(38, 28, 21, 0.08); color: #261C15; }
.metry-modal__close svg { width: 18px; height: 18px; stroke: #261C15; }
.metry-modal__title { font-family: "Unbounded", sans-serif; font-size: 28px; font-weight: 400; color: #261C15; margin: 0 0 8px 0; text-transform: uppercase; }
.metry-modal__subtitle { font-family: "NT Somic", sans-serif; font-size: 14px; color: #261C15; opacity: 0.55; margin: 0 0 28px 0; line-height: 1.5; }
.metry-modal__form { display: flex; flex-direction: column; gap: 16px; }
.metry-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metry-modal__field-group { display: flex; flex-direction: column; gap: 6px; }
.metry-modal__label { font-family: "NT Somic", sans-serif; font-size: 13px; font-weight: 400; color: #261C15; opacity: 0.6; }
.metry-modal__input, .metry-modal__textarea { background: rgba(38, 28, 21, 0.04); border: 1px solid rgba(38, 28, 21, 0.15); border-radius: 10px; padding: 12px 16px; font-family: "NT Somic", sans-serif; font-size: 15px; color: #261C15; width: 100%; box-sizing: border-box; transition: border-color 0.2s; }
.metry-modal__input::placeholder, .metry-modal__textarea::placeholder { color: rgba(38, 28, 21, 0.35); }
.metry-modal__input:focus, .metry-modal__textarea:focus { outline: none; border-color: #9C4124; }
.metry-modal__textarea { resize: vertical; min-height: 80px; }
.metry-modal__consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.metry-modal__consent input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; accent-color: #9C4124; flex-shrink: 0; cursor: pointer; }
.metry-modal__consent-text { font-family: "NT Somic", sans-serif; font-size: 12px; color: #261C15; opacity: 0.55; line-height: 1.5; }
.metry-modal__consent-text a { color: #9C4124; text-decoration: underline; }
button.metry-modal__submit, .metry-modal__submit { width: 100%; height: 46px; background: #9C4124; color: #E7E3DA; border: none; border-radius: 10px; font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 16px; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; margin-top: 4px; padding: 0; }
button.metry-modal__submit:hover, .metry-modal__submit:hover { background: #7d3419; color: #E7E3DA; }
button.metry-modal__submit:disabled, .metry-modal__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.metry-modal__success { text-align: center; padding: 20px 0; display: none; }
.metry-modal__success.visible { display: block; }
.metry-modal__success-icon { font-size: 48px; margin-bottom: 16px; }
.metry-modal__success-title { font-family: "Unbounded", sans-serif; font-size: 22px; font-weight: 400; color: #261C15; margin-bottom: 8px; }
.metry-modal__success-text { font-family: "NT Somic", sans-serif; font-size: 15px; color: #261C15; opacity: 0.6; }

/* === MODALS === */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 28, 21, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #E7E3DA;
    border-radius: 24px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(38, 28, 21, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #261C15;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #261C15;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.modal-btn {
    width: 100%;
    margin-top: 24px;
}

/* Bonus popup steps */
.bonus-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bonus-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bonus-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #9C4124;
    color: #E7E3DA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 16px;
    flex-shrink: 0;
}

.bonus-step-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-step-info h4 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #261C15;
}

.bonus-step-info p {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(38, 28, 21, 0.7);
}

.bonus-levels {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-levels li {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #261C15;
    padding-left: 16px;
    position: relative;
}

.bonus-levels li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9C4124;
}

.accent-color {
    color: #9C4124;
    font-weight: 500;
}

.bonus-note {
    background: rgba(156, 65, 36, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #9C4124 !important;
    margin-top: 4px;
}

/* === EDIT PROFILE MODAL === */
.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.edit-profile-form .field-input input {
    background: rgba(38, 28, 21, 0.04);
    border: 1px solid rgba(38, 28, 21, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'NT Somic', sans-serif;
    font-size: 15px;
    color: #261C15;
    width: 100%;
    transition: border-color 0.2s;
}

.edit-profile-form .field-input input:focus {
    outline: none;
    border-color: #9C4124;
}

.edit-profile-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.edit-profile-buttons .btn-primary {
    flex: 1;
}

.btn-secondary {
    background: none;
    border: 1.5px solid #261C15;
    color: #261C15;
    border-radius: 30px;
    padding: 12px 24px;
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(38, 28, 21, 0.06);
}

/* Profile buttons area */
.profile-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

/* === MENU CARD — 3rd row fix === */
.menu-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.menu-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .loyalty-tiers {
        grid-template-columns: 1fr;
    }

    .loyalty-status-header {
        flex-direction: column;
    }

    .metry-contacts__main { flex-direction: column; gap: 24px; }
    .metry-contacts__info { flex: 1 1 auto; width: 100%; }
    .metry-contacts__map { min-height: 300px; }
    .metry-contacts__map iframe { min-height: 300px; }
    .metry-contacts__banner-inner { padding: 36px 24px; }
    .metry-contacts__banner-title { font-size: 24px; }
    .metry-contacts__banner-text { font-size: 14px; }

    .edit-profile-buttons {
        flex-direction: column;
    }

    .bonus-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-content {
        padding: 24px;
    }

    .booking-card-dates {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .booking-date-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .loyalty-balance-value {
        font-size: 24px;
    }

    .loyalty-tier-percent {
        font-size: 22px;
    }

    .modal-title {
        font-size: 18px;
    }

    .booking-card-image {
        height: 140px;
    }

    .metry-contacts__info { padding: 20px 18px; gap: 20px; }
    .metry-contacts__info-value { font-size: 16px; }
    .metry-contacts__map { min-height: 260px; }
    .metry-contacts__banner-inner { padding: 28px 20px; min-height: 150px; }
    .metry-contacts__banner-title { font-size: 20px; }
    .metry-contacts__banner-bg { width: 40%; opacity: 0.08; }
    .metry-modal { padding: 32px 24px 28px; }
    .metry-modal__title { font-size: 22px; }
    .metry-modal__row { grid-template-columns: 1fr; }
}


/* ============================================
   AUTH FORMS (Login / Register)
   ============================================ */

.auth-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.auth-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 2px 16px rgba(38, 28, 21, 0.06);
    overflow: hidden;
    box-sizing: border-box;
}

.auth-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 28px;
    text-transform: uppercase;
    color: #261C15;
    text-align: center;
    margin: 0 0 8px 0;
}

.auth-subtitle {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0 0 28px 0;
    line-height: 1.5;
}

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

.auth-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-row .auth-field {
    flex: 1 1 180px;
    min-width: 0;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #261C15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #261C15;
    background: #F5F3EF;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input::placeholder {
    color: #A09890;
}

.auth-input:focus {
    border-color: #9C4124;
    box-shadow: 0 0 0 3px rgba(156, 65, 36, 0.08);
}

.auth-password-wrapper {
    position: relative;
}

.auth-password-wrapper .auth-input {
    padding-right: 48px;
    width: 100%;
    box-sizing: border-box;
}

.auth-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #A09890;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.auth-toggle-password:hover {
    color: #261C15;
}

.auth-submit {
    margin-top: 8px;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-family: 'NT Somic', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
    border-radius: 10px !important;
    background: #261C15 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.auth-submit:hover {
    background: #9C4124 !important;
}

.auth-submit:active {
    transform: scale(0.98);
}

.auth-error {
    background: #FDECEC;
    color: #9C4124;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
    border: 1px solid rgba(156, 65, 36, 0.15);
}

.auth-switch {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

.auth-switch a {
    color: #261C15;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.auth-switch a:hover {
    color: #9C4124;
}

.auth-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin 0.6s linear infinite;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

/* Not auth message container style override */
.not-auth-message {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    min-height: 400px;
}

/* Mobile */
@media (max-width: 480px) {
    .auth-container {
        padding: 24px 12px;
    }
    
    .auth-form-wrapper {
        padding: 28px 20px;
    }
    
    .auth-title {
        font-size: 22px;
    }
    
    .auth-form {
        gap: 14px;
    }
    
    .auth-subtitle {
        margin-bottom: 18px;
    }
    
    .auth-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-row .auth-field {
        flex: 0 0 auto;
    }
    
    .auth-input {
        padding: 10px 14px;
    }
    
    .auth-submit {
        padding: 12px 24px !important;
    }
}

/* === DASHBOARD TILES (now styled via Tailwind — see index.html) === */
/* .dashboard-grid — replaced by Tailwind grid on #dashboardGrid */
/* .dashboard-card — replaced by Tailwind flex utilities */

/* Only keep accent state (JS toggles this class) */
.dashboard-card.accent {
    border-color: #9C4124 !important;
    box-shadow: 0 0 15px rgba(156, 65, 36, 0.2) !important;
}

/* Responsive handled by Tailwind max-md: / max-sm: prefixes */


/* ============================================
   CONSENT CHECKBOXES (Registration form)
   ============================================ */

.auth-consent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: #261C15;
    line-height: 1.4;
    max-width: 100%;
    box-sizing: border-box;
}

.auth-checkbox-label span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.auth-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: #9C4124;
    cursor: pointer;
    border: 1.5px solid #261C15;
    border-radius: 4px;
}

.auth-checkbox-label a {
    color: #9C4124;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.auth-checkbox-label a:hover {
    color: #261C15;
}

/* ============================================
   FORGOT PASSWORD
   ============================================ */

.auth-forgot {
    text-align: right;
    margin-top: -6px;
    margin-bottom: 4px;
}

.auth-forgot a {
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: #9C4124;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-forgot a:hover {
    color: #261C15;
    text-decoration: underline;
}

.auth-success {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'NT Somic', sans-serif;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ============================================
   CITY NAME FIX (prevent wrapping)
   ============================================ */

.filter-field.city .filter-value {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* Registration window centering fix */
/* display is controlled by JS (inline style) - do NOT use !important here */
.not-auth-message {
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 500px !important;
    padding: 40px 20px 120px !important;
}

.auth-container {
    max-width: 460px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-bottom: 80px !important;
}

.auth-form-wrapper {
    width: 100% !important;
}

/* === Section header row with clear button === */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
}

.section-header-row .section-title {
    margin-bottom: 0;
}

.btn-clear-history {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1.5px solid rgba(38, 28, 21, 0.2);
    border-radius: 8px;
    color: rgba(38, 28, 21, 0.6);
    font-family: 'NT Somic', sans-serif;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-clear-history:hover {
    border-color: #9C4124;
    color: #9C4124;
}

.btn-clear-history svg {
    flex-shrink: 0;
}

/* === MOBILE 375px === */
@media (max-width: 375px) {
    .auth-container { padding: 16px 8px; }
    .auth-form-wrapper { padding: 24px 16px; }
    .auth-title { font-size: 20px; }
    .auth-input { font-size: 14px; padding: 10px 12px; }
    /* dashboard-card now handled by Tailwind */
    .booking-card-image { height: 120px; }
    .metry-contacts__map { min-height: 220px; }
    .metry-modal { padding: 24px 16px 20px; max-width: calc(100vw - 24px); }
    .metry-modal__title { font-size: 20px; }
    .loyalty-balance-value { font-size: 20px; }
    .loyalty-tier-percent { font-size: 18px; }
}

/* === ACCOUNT LAYOUT — MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .account-content {
        flex-direction: column;
        gap: 20px;
    }
    .profile-card {
        width: 100%;
        min-height: auto;
    }
    .page-wrapper {
        padding: 24px 16px;
        gap: 30px;
    }
    .page-title {
        font-size: 24px;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 20px 16px;
    }
    .page-title {
        font-size: 20px;
    }
}

