/*
 * pcu-views.css
 * Single source for ALL view-level styles. No <style> blocks or style=""
 * attributes should exist in any .cshtml file — everything lives here.
 *
 * Sections
 *  1. Utility classes (replaces inline style="…")
 *  2. Shared / Layout
 *  3. Authentication & Account
 *  4. Documents
 *  5. Companies
 *  6. Reports & Wizard
 *  7. Profile
 *  8. Home / Landing
 *  9. Reservations
 * 10. Tickets / Support
 * 11. Validation
 * 12. Deductions
 * 13. Print utilities
 */

/* ─────────────────────────────────────────────────────────────────────────── */
/* 1. UTILITY CLASSES                                                           */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Icon / font-size helpers */
.icon-2rem   { font-size: 2rem; }
.icon-3rem   { font-size: 3rem; }
.icon-4rem   { font-size: 4rem; }
.font-12     { font-size: 12px; }
.text-icon-muted { color: #ccc; }
.text-accent { color: var(--accent, #71be46); }

/* Fixed dimension helpers */
.logo-35     { height: 35px; }
.logo-40     { height: 40px; }
.icon-56     { width: 56px;  height: 56px; }
.icon-3rem-sq { width: 3rem; height: 3rem; }
.icon-3rem-h  { width: 3rem; height: 1.5rem; }
.partner-logo { width: 120px; height: 120px; }
.testimonial-img { height: 140px; }
.client-logo  { max-height: 60px; }

/* Overflow / scroll helpers */
.scroll-y-200 { max-height: 200px; overflow-y: auto; }
.scroll-y-400 { max-height: 400px; overflow-y: auto; }
.scroll-y-500 { max-height: 500px; overflow-y: auto; }
.scroll-y-600 { max-height: 600px; overflow-y: auto; }

/* Sizing helpers */
.mw-280  { min-width: 280px; }
.mw-400  { max-width: 400px; }
.min-h-80 { min-height: 80px; }

/* Interactive helpers */
.cursor-pointer { cursor: pointer; }
.resize-none    { resize: none; }

/* Table column width helpers */
.col-w-5  { width: 5%; }
.col-w-8  { width: 8%; }
.col-w-10 { width: 10%; }
.col-w-12 { width: 12%; }
.col-w-15 { width: 15%; }
.col-w-20 { width: 20%; }
.col-w-25 { width: 25%; }
.col-w-35 { width: 35%; }
.col-w-40 { width: 40%; }
.col-w-50 { width: 50%; }

/* z-index helper */
.z-1 { z-index: 1; }

/* Sidebar logo sizes */
.sidebar-logo-sm { height: 36px; width: auto; }
.sidebar-logo-lg { height: 40px; width: auto; max-width: 200px; }

/* ─────────────────────────────────────────────────────────────────────────── */
/* 2. SHARED / LAYOUT                                                           */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Cookie / notification banner (LandingLayout) */
.cookie-banner {
    z-index: 99999;
    width: 90%;
    max-width: 600px;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* 3. AUTHENTICATION & ACCOUNT                                                  */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Password strength bar */
.password-strength {
    height: 5px;
    border-radius: 3px;
    transition: all 0.3s;
    background-color: #e9ecef;
}
.strength-weak   { background-color: #dc3545; width: 33%; }
.strength-medium { background-color: #ffc107; width: 66%; }
.strength-strong { background-color: #28a745; width: 100%; }

/* Company selector (SelectCompany) */
.company-option {
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--input-bg, #fff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.company-option:hover {
    border-color: var(--primary, #022349);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 35, 73, 0.15);
    background: rgba(2, 35, 73, 0.02);
}
.company-option.primary {
    border-color: var(--accent, #71be46);
    background: rgba(113, 190, 70, 0.03);
}
.company-option.primary:hover {
    border-color: var(--accent, #71be46);
    background: rgba(113, 190, 70, 0.08);
}
.company-info h5 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
}
.company-details {
    color: var(--text-muted, #64748b);
    font-size: 0.85rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.company-details span { display: inline-flex; align-items: center; }
.company-details i    { margin-right: 0.35rem; opacity: 0.7; }

.primary-badge {
    background: linear-gradient(135deg, var(--accent, #71be46) 0%, #c8f433 100%);
    color: #022349;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(113, 190, 70, 0.3);
}
.select-icon {
    color: var(--primary, #022349);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}
.company-option:hover .select-icon { transform: translateX(5px); opacity: 1; }
.no-companies-message { text-align: center; padding: 3rem 1rem; color: var(--text-muted, #64748b); }
.no-companies-message i { font-size: 3rem; color: var(--accent, #71be46); margin-bottom: 1rem; }

/* ─────────────────────────────────────────────────────────────────────────── */
/* 4. DOCUMENTS                                                                 */
/* ─────────────────────────────────────────────────────────────────────────── */

#documentDropzone {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#documentDropzone.dz-drag-hover {
    background-color: #f0f8ff;
    border-color: #0d6efd !important;
}
.dz-message    { margin: 0; }
.dz-message i  { font-size: 2rem; }
.dz-preview    { margin: 0 !important; }

.document-card { transition: transform 0.2s, box-shadow 0.2s; }
.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.badge-private { background-color: #fee; color: #c33; }
.file-size     { font-size: 0.85rem; }

/* ─────────────────────────────────────────────────────────────────────────── */
/* 5. COMPANIES                                                                 */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Company type selector (Create) */
.company-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.type-card {
    flex: 1;
    min-width: 150px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}
.type-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(2, 35, 73, 0.15);
}
.type-card.selected {
    border-color: var(--bs-primary);
    background: rgba(2, 35, 73, 0.05);
    box-shadow: 0 0 0 3px rgba(2, 35, 73, 0.1);
}
.type-card .icon  { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--bs-primary); }
.type-card .title { font-weight: 600; font-size: 1rem; margin-bottom: 0.25rem; }
.type-card .code  { font-size: 0.875rem; color: #6c757d; font-family: monospace; }

.section-divider {
    border-top: 2px solid #e9ecef;
    margin: 2rem 0;
    position: relative;
}
.section-divider::before {
    content: attr(data-title);
    position: absolute;
    top: -12px;
    left: 20px;
    background: white;
    padding: 0 10px;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}
.code-preview {
    background: #f8f9fa;
    border: 2px dashed var(--bs-primary);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-primary);
}

/* ManageUsers */
.user-access-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.user-access-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}
.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}
.primary-indicator {
    background: #198754;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* 6. REPORTS & WIZARD                                                          */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Step wizard (Create / Edit / AdvancedEdit) */
.step-wizard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.step {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    border-bottom: 4px solid #dee2e6;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.step:hover             { background: #f8f9fa; }
.step.active            { border-bottom-color: #0d6efd; font-weight: 600; color: #0d6efd; }
.step.completed         { border-bottom-color: #198754; color: #198754; }
.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.step.active .step-number    { background: #0d6efd; color: white; transform: scale(1.1); }
.step.completed .step-number { background: #198754; color: white; }

.step-content         { display: none; animation: viewsFadeIn 0.3s ease-in; }
.step-content.active  { display: block; }

@keyframes viewsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Selectable table/column cards */
.selectable-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
    position: relative;
}
.selectable-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
    transform: translateY(-2px);
}
.selectable-card.selected {
    border-color: #0d6efd;
    background-color: #e7f3ff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}
.selectable-card.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0d6efd;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.selectable-card h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* Column items */
.column-item {
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}
.column-item:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.column-item.selected { background: #e7f3ff; border-color: #0d6efd; }
.column-item .form-check { padding: 0.75rem 1rem; margin: 0; }
.column-item .form-check-label { cursor: pointer; user-select: none; }

/* Filter builder */
.filter-builder {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

/* Report card */
.report-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}
.report-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Code / SQL editor (AdvancedEdit) */
.code-editor {
    font-family: 'Courier New', monospace;
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
}
.advanced-section {
    border-left: 4px solid #ffc107;
    background: #fffbf0;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* 7. PROFILE                                                                   */
/* ─────────────────────────────────────────────────────────────────────────── */

.profile-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #022349 0%, #033a75 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(2, 35, 73, 0.3);
    border: 4px solid white;
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.stat-number  { font-size: 2rem; font-weight: 700; }
.info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 0.25rem;
}
.info-value   { font-size: 1rem; font-weight: 600; color: #111827; }

.status-reserved  { background: #dbeafe; color: #1e40af; }
.status-takenup   { background: #d1fae5; color: #065f46; }
.status-stopped   { background: #fee2e2; color: #991b1b; }

.btn-update-profile {
    background: linear-gradient(135deg, #022349 0%, #033a75 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-update-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 35, 73, 0.4);
    color: white;
}
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-title i { color: var(--primary, #022349); }

@media (max-width: 768px) {
    .profile-avatar  { width: 100px; height: 100px; font-size: 2.5rem; }
    .stat-number     { font-size: 1.5rem; }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* 8. HOME / LANDING                                                            */
/* ─────────────────────────────────────────────────────────────────────────── */

.home-topbar {
    z-index: 1030;
    width: 90%;
    max-width: 1200px;
}

.hero-divider {
    height: 4px;
    width: 100px;
    border-radius: 2px;
}

/* Floating animation elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-20px); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50%       { transform: translateY(-10px) translateX(-50%); }
}

.hero-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}
.float-elem-1 { top: 20%; left: -10%; animation: float 3s ease-in-out infinite; }
.float-elem-2 { top: 50%; right: -5%; animation: float 3s ease-in-out infinite 1s; }
.float-elem-3 { bottom: 15%; left: 5%; animation: float 3s ease-in-out infinite 2s; }

.hero-mockup {
    max-height: 500px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}
.scroll-bounce { animation: bounce 2s infinite; }

.hero-badge {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: #198754;
    font-size: 0.875rem;
}
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), rgba(32, 201, 151, 0.05));
    animation: float 6s ease-in-out infinite;
}
.circle-1 { width: 300px; height: 300px; top: 10%;    left: 5%; }
.circle-2 { width: 200px; height: 200px; top: 60%;    right: 10%; animation-delay: 2s; }
.circle-3 { width: 150px; height: 150px; bottom: 15%; left: 15%;  animation-delay: 4s; }
.floating-shape {
    position: absolute;
    background: rgba(25, 135, 84, 0.03);
    animation: float 8s ease-in-out infinite;
}
.shape-1 { width: 100px; height: 100px; top: 30%;    right: 20%; transform: rotate(45deg); }
.shape-2 { width: 80px;  height: 80px;  bottom: 30%; left: 30%;  transform: rotate(25deg); animation-delay: 3s; }

/* ─────────────────────────────────────────────────────────────────────────── */
/* 9. RESERVATIONS                                                              */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Required field marker */
.required-field::after { content: " *"; color: red; }

.info-section { padding: 1rem; }

.form-row label { font-weight: 500; margin-bottom: 0.5rem; }

/* Table row highlighting for bank reservations/deductions */
.table-info             { background-color: rgba(13, 202, 240, 0.08) !important; }
.table-info:hover       { background-color: rgba(13, 202, 240, 0.15) !important; }
.badge.bg-info-subtle   { font-size: 0.7rem; padding: 0.2rem 0.4rem; }
tr                      { transition: background-color 0.2s ease; }
.badge i                { font-size: 0.9em; }

/* ─────────────────────────────────────────────────────────────────────────── */
/* 10. TICKETS / SUPPORT                                                        */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Priority badges (Create form) */
.priority-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #fff;
}
.priority-badge input[type="radio"] { display: none; }
.priority-badge.low    { background-color: #198754; border-color: #198754; }
.priority-badge.medium { background-color: #ffc107; border-color: #ffc107; color: #000; }
.priority-badge.high   { background-color: #fd7e14; border-color: #fd7e14; }
.priority-badge.urgent { background-color: #dc3545; border-color: #dc3545; }
.priority-badge:hover  { opacity: 0.8; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.priority-badge.selected        { border: 2px solid #212529; box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.2); }
.priority-badge.low.selected    { box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3); }
.priority-badge.medium.selected { box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3); }
.priority-badge.high.selected   { box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.3); }
.priority-badge.urgent.selected { box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3); }

/* Dynamic priority badges (Details view) */
.priority-badge.Urgent { background-color: #dc3545; color: white; }
.priority-badge.High   { background-color: #fd7e14; color: white; }
.priority-badge.Medium { background-color: #ffc107; color: #000; }
.priority-badge.Low    { background-color: #198754; color: white; }

/* Ticket list card */
.ticket-card {
    transition: all 0.3s ease;
    border-left: 4px solid #e9ecef;
}
.ticket-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.ticket-card.urgent { border-left-color: #dc3545; }
.ticket-card.high   { border-left-color: #fd7e14; }
.ticket-card.medium { border-left-color: #ffc107; }
.ticket-card.low    { border-left-color: #198754; }

.priority-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.priority-indicator.Urgent { background-color: #dc3545; }
.priority-indicator.High   { background-color: #fd7e14; }
.priority-indicator.Medium { background-color: #ffc107; }
.priority-indicator.Low    { background-color: #198754; }

/* Ticket detail — info sections */
.info-section-bg {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.ticket-header {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1.5rem;
}
.action-button { margin-right: 0.5rem; }

/* Chat / message area */
.message-container {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    background-image: repeating-linear-gradient(
        45deg,
        transparent, transparent 10px,
        rgba(255, 255, 255, 0.05) 10px, rgba(255, 255, 255, 0.05) 20px
    );
}
.message-wrapper {
    display: flex;
    margin-bottom: 1.5rem;
    animation: viewsFadeIn 0.3s ease-in;
}
.message-wrapper.sent     { justify-content: flex-end; }
.message-wrapper.received { justify-content: flex-start; }
.message-wrapper.system   { justify-content: center; margin: 2rem 0; }

.message-bubble {
    max-width: 70%;
    position: relative;
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}
.message-wrapper.sent .message-bubble {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-bottom-right-radius: 0.25rem;
}
.message-wrapper.received .message-bubble {
    background: white;
    color: #212529;
    border-bottom-left-radius: 0.25rem;
    border: 1px solid #dee2e6;
}
.message-wrapper.system .message-bubble {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    font-size: 0.875rem;
    border-radius: 1rem;
    max-width: 60%;
    text-align: center;
    border: 1px dashed #dee2e6;
}
.message-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.message-wrapper.sent .message-meta     { justify-content: flex-end; }
.message-wrapper.received .message-meta { justify-content: flex-start; }
.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    align-self: flex-end;
    margin: 0 0.625rem;
}
@media (max-width: 768px) {
    .message-bubble  { max-width: 85%; }
    .message-avatar  { width: 32px; height: 32px; font-size: 0.75rem; margin: 0 0.5rem; }
}
#messageText:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
.message-container::-webkit-scrollbar       { width: 8px; }
.message-container::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.message-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2);  border-radius: 10px; }
.message-container::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }
.empty-chat-state { text-align: center; padding: 4rem 2rem; color: #6c757d; }
.empty-chat-state i { font-size: 4rem; opacity: 0.3; margin-bottom: 1rem; }

/* ─────────────────────────────────────────────────────────────────────────── */
/* 11. VALIDATION                                                               */
/* ─────────────────────────────────────────────────────────────────────────── */

.custom-file-input:lang(en) ~ .custom-file-label::after { content: "Browse"; }

/* ─────────────────────────────────────────────────────────────────────────── */
/* 12. DEDUCTIONS                                                               */
/* ─────────────────────────────────────────────────────────────────────────── */

/* (table-info row highlight is shared with Reservations — already declared above) */

/* ─────────────────────────────────────────────────────────────────────────── */
/* 13. PRINT UTILITIES (Reservations/Details)                                   */
/* ─────────────────────────────────────────────────────────────────────────── */

@media print {
    .no-print,
    .btn,
    .breadcrumb,
    nav,
    .modal,
    .alert-dismissible .btn-close { display: none !important; }

    .no-print-link {
        color: inherit !important;
        text-decoration: none !important;
        pointer-events: none;
    }
    .print-only  { display: block !important; }
    .col-print-12 { width: 100% !important; max-width: 100% !important; }

    .card {
        box-shadow: none !important;
        page-break-inside: avoid;
        page-break-after: auto;
    }
    .container-fluid {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }
    .fs-3, .fs-4, .fs-5 { font-weight: bold !important; }
    .bg-light { background-color: #f8f9fa !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .bg-primary, .bg-info, .bg-success, .bg-warning, .bg-danger {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    body    { margin: 0; padding: 15px; }
    @page   { margin: 1cm; size: A4; }
}
@media screen {
    .print-only { display: none !important; }
}
