body.site-account-page {
    --white: #fdfbf7;
    --gray-50: #f0ece4;
    --gray-100: #ebe8e3;
    --gray-200: #e8e4dd;
    --gray-400: #aaa39a;
    --gray-500: #928b82;
    --gray-600: #928b82;
    --gray-700: #6c665d;
    --gray-900: #585248;
    --success: #348f85;
    --primary: #348f85;
    --primary-dark: #2a756d;
    --accent-hover: #2a756d;
    --error: #c53030;
    --warning: #d97706;
    --radius: 12px;
    --radius-lg: 14px;
    --shadow-md: 0 4px 14px rgba(88, 82, 72, 0.08);
    --shadow-lg: 0 8px 28px rgba(88, 82, 72, 0.12);
}
.site-account-main {
    padding-top: var(--header-h, 64px);
    min-height: 60vh;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

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

.auth-container {
    padding: 24px 20px 32px;
    max-width: 440px;
    margin: 0 auto;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
}

.auth-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.auth-description {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 14px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 16px;
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--gray-900);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 143, 133, 0.1);
}

.form-hint {
    font-size: 12px;
    color: var(--gray-500);
}

.auth-submit-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    color: var(--error);
    font-size: 14px;
    margin-top: 16px;
}

.auth-success {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius);
    color: #065f46;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 4px;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.profile-container {
    padding: 24px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
}

.profile-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.profile-avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 20px;
    color: var(--gray-600);
}

/* display:flex выше перекрывает поведение атрибута hidden — без этого блок не скрывается */
.profile-loading[hidden] {
    display: none !important;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.profile-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-field-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-900);
}

.profile-member-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    vertical-align: middle;
}

.profile-member-badge--gold {
    color: #7c5d00;
    background: linear-gradient(135deg, #fff6cc 0%, #f5d26b 100%);
    border: 1px solid #e1b84d;
    box-shadow: 0 2px 8px rgba(225, 184, 77, 0.28);
}

.profile-gold-card-field {
    border: 1px solid #efd37a;
    background: linear-gradient(135deg, rgba(255, 247, 214, 0.8) 0%, rgba(255, 241, 189, 0.66) 100%);
}

.profile-gold-card {
    border-radius: 12px;
    border: 1px solid #d8b45d;
    background: linear-gradient(135deg, #ffefb8 0%, #f2c75f 52%, #e1ad3f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 14px rgba(173, 122, 20, 0.25);
    padding: 12px 14px;
}

.profile-gold-card__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a4a00;
    margin-bottom: 6px;
}

.profile-gold-card__code {
    font-size: 18px;
    font-weight: 700;
    color: #3f2a00;
    letter-spacing: 0.04em;
    word-break: break-word;
}

.profile-gold-card__barcode-wrap {
    margin-top: 10px;
    padding: 8px 10px 7px;
    border-radius: 8px;
    border: 1px solid rgba(104, 73, 0, 0.25);
    background: rgba(255, 255, 255, 0.58);
}

.profile-gold-card__barcode {
    height: 30px;
    border-radius: 4px;
    background:
        repeating-linear-gradient(
            to right,
            #1f1f1f 0,
            #1f1f1f 2px,
            transparent 2px,
            transparent 4px,
            #1f1f1f 4px,
            #1f1f1f 5px,
            transparent 5px,
            transparent 8px
        );
}

.profile-gold-card__barcode-text {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    color: #4f3a07;
    word-break: break-all;
}

.profile-debt {
    color: var(--error);
}

.profile-no-debt {
    color: var(--success);
}

.profile-balance {
    color: var(--success);
    font-weight: 600;
}

.profile-balance-field {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--gray-200);
}

.profile-balance-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.profile-refill-inline-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-refill-inline-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--success) 100%);
    box-shadow: 0 2px 8px rgba(52, 143, 133, 0.3);
    transform: translateY(-1px);
}

.profile-refill-inline-btn:active {
    transform: translateY(0);
}

.profile-refill-inline-btn svg {
    flex-shrink: 0;
}

.profile-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.profile-action-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-action-btn:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.profile-refill-btn {
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    margin-bottom: 12px;
}

.profile-refill-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--success) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.email-required-overlay {
    z-index: 1100;
}

.email-required-hint {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.auth-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--gray-700);
}

.auth-consent-row input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.auth-consent-row a {
    text-decoration: underline;
    color: var(--accent, #348f85);
}

.auth-link-btn {
    margin-top: 12px;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--accent, #348f85);
    text-decoration: underline;
    cursor: pointer;
}

.auth-card--registration {
    padding: 20px 18px 18px;
}

.auth-card--registration .auth-icon--compact {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
}

.auth-card--registration .auth-title {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.auth-card--registration .auth-description {
    margin-bottom: 16px;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.reg-form-compact {
    gap: 10px !important;
}

.reg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
}

.reg-form-grid .form-group--full {
    grid-column: 1 / -1;
}

.reg-form-grid .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0;
}

.form-label-optional {
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.75rem;
}

.form-input--compact {
    padding: 10px 12px !important;
    font-size: 0.9375rem !important;
}

.auth-consent-row--compact {
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.35;
    gap: 8px;
}

.auth-submit-btn--compact {
    padding: 11px 18px !important;
    font-size: 0.9375rem !important;
    margin-top: 4px !important;
}

.auth-link-btn--compact {
    margin-top: 8px;
    font-size: 0.8125rem;
    display: block;
    text-align: center;
    width: 100%;
}

@media (max-width: 400px) {
    .reg-form-grid {
        grid-template-columns: 1fr;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(52, 143, 133, 0.1);
}

.form-error {
    margin-top: 8px;
    padding: 10px 12px;
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    border-radius: 6px;
    color: #DC2626;
    font-size: 13px;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.quick-amount-btn {
    padding: 12px 16px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-amount-btn:hover {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 143, 133, 0.2);
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
}

.modal-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-btn-primary {
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
}

.modal-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--success) 100%);
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.modal-btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.modal-btn-secondary:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.profile-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 20px;
    color: var(--error);
    text-align: center;
}

.retry-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover {
    background: var(--primary-dark);
}

.profile-visits-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.profile-visits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: 10px;
    transition: all 0.2s ease;
    user-select: none;
}

.profile-visits-header:hover {
    background: var(--gray-100);
}

.profile-visits-header.collapsed {
    margin-bottom: 0;
}

.visits-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.visits-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--success);
    flex-shrink: 0;
}

.profile-visits-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.visits-count {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.visits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.visit-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.visit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--success) 0%, var(--accent-hover) 100%);
}

.visit-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--success);
    transform: translateY(-2px);
}

.visit-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.visit-number {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 16px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.visit-number::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
}

.visit-time {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.visit-time svg {
    color: var(--success);
    flex-shrink: 0;
}

.visit-appointment {
    background: var(--white);
    border-radius: 10px;
    padding: 16px;
    margin-top: 12px;
    border-left: 4px solid var(--success);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.visit-appointment:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

.appointment-water-body {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.status-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--success);
}

.visit-appointment[data-status="pending"] .status-icon svg,
.visit-appointment[data-status="waiting"] .status-icon svg {
    stroke: var(--warning);
}

.visit-appointment[data-status="booked"] .status-icon svg {
    stroke: var(--success);
}

.visit-appointment[data-status="cancelled"] .status-icon svg,
.visit-appointment[data-status="no_show"] .status-icon svg,
.visit-appointment[data-status="failed"] .status-icon svg {
    stroke: var(--error);
}

.water-body-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 15px;
    letter-spacing: 0.2px;
}

.appointment-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 28px;
    margin-top: 4px;
}

.appointment-room,
.appointment-employee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
    padding: 6px 10px;
    background: var(--gray-50);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.appointment-room:hover,
.appointment-employee:hover {
    background: var(--gray-100);
}

.appointment-room svg,
.appointment-employee svg {
    color: var(--success);
    flex-shrink: 0;
}

.no-visits-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 20px;
    text-align: center;
    color: var(--gray-600);
}

.no-visits-message svg {
    color: var(--gray-400);
}

.no-visits-message p {
    margin: 0;
    font-size: 15px;
}

.no-visits-subtitle {
    font-size: 13px !important;
    color: var(--gray-500) !important;
}

/* Мои бронирования: спокойный, "человеческий" визуал без перегруза */
.profile-bookings-header {
    cursor: default;
}

.profile-bookings-header:hover {
    background: var(--gray-50);
}

.profile-bookings-list {
    display: grid;
    gap: 10px;
}

.profile-booking-item {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    padding: 12px;
}

.profile-booking-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.profile-booking-item__num {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
}

.profile-booking-item__title {
    font-size: 15px;
    color: var(--gray-900);
    font-weight: 600;
    margin-bottom: 3px;
}

.profile-booking-item__meta {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.profile-booking-item__time {
    font-size: 13px;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 6px 8px;
    margin-bottom: 7px;
}

.profile-booking-item__details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--gray-600);
}

.profile-booking-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid transparent;
}

.profile-booking-status.is-planned {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border-color: rgba(29, 78, 216, 0.2);
}

.profile-booking-status.is-passes {
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
    border-color: rgba(146, 64, 14, 0.2);
}

.profile-booking-status.is-ended {
    background: rgba(16, 185, 129, 0.12);
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.2);
}

.profile-booking-status.is-canceled,
.profile-booking-status.is-unknown {
    background: rgba(107, 114, 128, 0.12);
    color: #4b5563;
    border-color: rgba(75, 85, 99, 0.2);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
    min-height: calc(100vh - 200px);
}

.empty-state svg {
    stroke: var(--gray-400);
    margin-bottom: 16px;
}

.empty-state-text {
    font-size: 15px;
    font-weight: 500;
}
.cart-page-content {
    padding: 20px;
    min-height: calc(100vh - 60px);
    max-width: 720px;
    margin: 0 auto;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.cart-item {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.cart-item-title h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.cart-item-subtitle {
    font-size: 13px;
    color: var(--gray-600);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--gray-100);
    color: var(--error);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
}

.cart-item-detail svg {
    color: var(--gray-500);
    flex-shrink: 0;
}

.cart-footer {
    position: sticky;
    bottom: 0;
    background: var(--white);
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 20px;
}

.cart-booking-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.cart-booking-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--success) 100%);
    box-shadow: 0 6px 16px rgba(52, 143, 133, 0.4);
    transform: translateY(-1px);
}

.cart-booking-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.empty-state-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.empty-state-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--success) 100%);
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.cart-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-600);
}

.cart-item-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.price-value {
    color: var(--success);
}

.cart-total {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 2px solid var(--gray-200);
}

.cart-total-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
}

.cart-total-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--success);
}

.auth-required-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.auth-required-state svg {
    stroke: var(--gray-400);
    margin-bottom: 24px;
    color: var(--gray-500);
}

.auth-required-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 8px 0;
}

.auth-required-description {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0 0 32px 0;
}

.auth-required-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.auth-required-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--success) 100%);
    box-shadow: 0 6px 16px rgba(52, 143, 133, 0.4);
    transform: translateY(-1px);
}

.auth-required-btn svg {
    stroke: var(--white);
    margin: 0;
    color: var(--white);
}

.balance-info {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.balance-info p {
    margin: 8px 0;
    font-size: 15px;
    color: var(--gray-700);
}

.balance-info p strong {
    color: var(--gray-900);
    font-weight: 600;
}

.missing-amount {
    color: var(--error) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 2px solid var(--gray-200);
}

.payment-link-container {
    margin: 20px 0;
}

.payment-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--success) 0%, var(--accent-hover) 100%);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(52, 143, 133, 0.3);
}

.payment-link-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--success) 100%);
    box-shadow: 0 6px 16px rgba(52, 143, 133, 0.4);
    transform: translateY(-1px);
}

.payment-link-btn svg {
    flex-shrink: 0;
}

.payment-instruction {
    text-align: center;
    color: var(--gray-600);
    font-size: 14px;
    margin-top: 16px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.cart-toast {
    position: fixed;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    max-width: min(420px, calc(100% - 32px));
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
    background: var(--white);
    color: var(--gray-900);
    border: 1px solid var(--gray-200);
}

.cart-toast.is-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.booking-success-modal.modal-content {
    max-width: 440px;
}

.booking-success-modal.modal-content.booking-success-modal--large {
    max-width: min(92vw, 620px);
    width: 100%;
}

.booking-success-modal--large .modal-header h2 {
    font-size: 1.35rem;
    line-height: 1.3;
}

.booking-success-modal--large .modal-body {
    max-height: min(70vh, 520px);
    overflow-y: auto;
}

.booking-success-intro {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--gray-800);
}

.booking-success-item {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.booking-success-item__title {
    font-weight: 600;
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.booking-success-item__line {
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.45;
}

.booking-success-item__line:last-child {
    margin-bottom: 0;
}

.booking-success-item__arrival {
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px dashed var(--gray-200);
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.5;
}

.booking-success-summary {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.booking-success-summary p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--gray-800);
}

.booking-success-balance-hint {
    font-size: 13px !important;
    color: var(--gray-600) !important;
}
