/* ============================================================
   STAYA.BG — Main Stylesheet
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --sidebar-bg: #1a1c2e;
    --sidebar-hover: #2d2f45;
    --sidebar-active: #4e73df;
    --accent: #4e73df;
    --accent-hover: #3a5bc7;
    --success: #1cc88a;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --info: #36b9cc;
    --text-dark: #2d3436;
    --text-muted: #858796;
    --bg-light: #f8f9fc;
    --card-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, .15);
    --border-radius: 0.5rem;
    --sidebar-width: 260px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Global --- */
* { box-sizing: border-box; }
body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
a { text-decoration: none; color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* --- Sidebar --- */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-y: auto;
}
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-brand {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
}
.sidebar-brand:hover { color: #fff; }
.sidebar-brand i { color: var(--accent); font-size: 1.3rem; }
.brand-accent { color: var(--accent); }
.sidebar-menu { flex: 1; padding: 1rem 0; }
.sidebar-menu .nav-link {
    color: rgba(255,255,255,.6);
    padding: .85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all .2s ease;
}
.sidebar-menu .nav-link:hover {
    color: #fff;
    background: var(--sidebar-hover);
    border-left-color: rgba(255,255,255,.3);
}
.sidebar-menu .nav-link.active {
    color: #fff;
    background: rgba(78,115,223,.15);
    border-left-color: var(--accent);
}
.sidebar-menu .nav-link i { width: 20px; text-align: center; font-size: 1rem; }
.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user-info { display: flex; align-items: center; gap: .7rem; }
.user-avatar-sm {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem;
}
.user-details { display: flex; flex-direction: column; }
.user-details .user-name { color: #fff; font-size: .85rem; font-weight: 600; }
.user-details .user-role { color: rgba(255,255,255,.4); font-size: .75rem; }

/* --- Sidebar Overlay (mobile) --- */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 999;
}

/* --- Main Content --- */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.content-area {
    padding: 1.5rem;
    flex: 1;
    animation: fadeIn .4s ease;
}

/* --- Top Bar --- */
.top-bar {
    background: #fff;
    padding: .75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 .15rem .3rem rgba(0,0,0,.05);
    position: sticky;
    top: 0;
    z-index: 500;
}
.top-bar-left { display: flex; align-items: center; gap: .75rem; }
.top-bar-right { display: flex; align-items: center; gap: 1rem; }
.page-title { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
.sidebar-toggle {
    font-size: 1.2rem;
    color: var(--text-dark);
    border: none;
    background: none;
    padding: .25rem;
}

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: .3rem; }
.lang-switch {
    padding: .25rem .5rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 4px;
    transition: all .2s;
}
.lang-switch.active { color: var(--accent); background: rgba(78,115,223,.1); }
.lang-switch:hover { color: var(--accent); }
.lang-divider { color: var(--text-muted); font-size: .75rem; }

/* Notifications */
.notification-btn {
    position: relative;
    font-size: 1.1rem;
    color: var(--text-muted);
    border: none; background: none;
    padding: .25rem;
}
.notification-btn:hover { color: var(--text-dark); }
.notification-badge {
    position: absolute;
    top: -2px; right: -4px;
    background: var(--danger);
    color: #fff;
    font-size: .65rem;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.notification-menu { width: 320px; padding: 0; }
.notification-menu .dropdown-header {
    background: var(--bg-light);
    font-weight: 700;
    font-size: .85rem;
    padding: .75rem 1rem;
}
.notification-item {
    display: flex; align-items: flex-start; gap: .75rem;
    padding: .75rem 1rem !important;
    border-bottom: 1px solid #f1f1f1;
}
.notification-item.unread { background: rgba(78,115,223,.03); }
.notification-icon {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .8rem;
}
.notification-content p { margin: 0; font-size: .85rem; color: var(--text-dark); }
.notification-content small { color: var(--text-muted); font-size: .75rem; }

/* User Dropdown */
.user-btn {
    display: flex; align-items: center; gap: .5rem;
    color: var(--text-dark);
    border: none; background: none;
    font-size: .9rem;
}
.user-btn:hover { color: var(--accent); }
.user-avatar {
    width: 34px; height: 34px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem;
}
.user-name-top { font-weight: 600; }

/* --- Cards --- */
.card {
    background: #fff;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all .3s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 2rem rgba(58,59,69,.2); }
.card-header {
    background: #fff;
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header i { color: var(--accent); margin-right: .5rem; }
.card-body { padding: 1.25rem; }

/* Stat Cards */
.stat-card {
    border-left: 4px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stat-card.border-primary { border-left-color: var(--accent); }
.stat-card.border-success { border-left-color: var(--success); }
.stat-card.border-info { border-left-color: var(--info); }
.stat-card.border-warning { border-left-color: var(--warning); }
.stat-card.border-danger { border-left-color: var(--danger); }
.stat-card .stat-content { }
.stat-card .stat-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: .5px;
}
.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}
.stat-card .stat-icon {
    font-size: 2rem;
    color: #ddd;
}

/* --- Tables --- */
.table-container {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}
.table { margin-bottom: 0; }
.table thead th {
    background: var(--bg-light);
    border-bottom: 2px solid #e3e6f0;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: .5px;
    padding: .85rem 1rem;
    white-space: nowrap;
}
.table tbody td {
    padding: .85rem 1rem;
    vertical-align: middle;
    font-size: .9rem;
    border-bottom: 1px solid #f1f3f5;
}
.table-hover tbody tr:hover { background: rgba(78,115,223,.03); }

/* --- Badges --- */
.badge {
    font-size: .75rem;
    font-weight: 600;
    padding: .35em .65em;
    border-radius: 50px;
}
.badge-online, .badge-available, .badge-paid, .badge-resolved, .badge-confirmed, .badge-excellent { background: rgba(28,200,138,.12); color: var(--success); }
.badge-offline, .badge-danger, .badge-overdue, .badge-cancelled, .badge-high { background: rgba(231,74,59,.12); color: var(--danger); }
.badge-warning, .badge-maintenance, .badge-pending, .badge-medium, .badge-in-progress, .badge-partial { background: rgba(246,194,62,.12); color: #c49100; }
.badge-occupied, .badge-info, .badge-checked-in, .badge-new { background: rgba(78,115,223,.12); color: var(--accent); }
.badge-checked-out, .badge-low, .badge-good { background: rgba(133,135,150,.12); color: var(--text-muted); }
.badge-fair { background: rgba(246,194,62,.12); color: #c49100; }

/* Platform badges */
.platform-booking { background: #003580; color: #fff; }
.platform-airbnb { background: #FF5A5F; color: #fff; }
.platform-direct { background: var(--success); color: #fff; }

/* --- Apartment Cards --- */
.apartment-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
}
.apartment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .75rem 2.5rem rgba(58,59,69,.25);
}
.apartment-card .card-stripe {
    height: 4px;
    width: 100%;
}
.apartment-card .card-stripe.bg-available { background: var(--success); }
.apartment-card .card-stripe.bg-occupied { background: var(--accent); }
.apartment-card .card-stripe.bg-maintenance { background: var(--warning); }
.apartment-card .apt-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}
.apartment-card .apt-floor {
    font-size: .8rem;
    color: var(--text-muted);
}
.apartment-card .apt-info {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: .85rem;
}

/* --- Smart Controls --- */
.smart-control-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.smart-control-card .control-header {
    background: var(--sidebar-bg);
    color: #fff;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}
.smart-control-card .control-body {
    padding: 1.25rem;
    background: #fff;
}
.smart-toggle {
    position: relative;
    width: 56px;
    height: 28px;
    background: #ccc;
    border-radius: 28px;
    cursor: pointer;
    transition: background .3s;
    border: none;
    padding: 0;
}
.smart-toggle.active { background: var(--success); }
.smart-toggle::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 22px; height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform .3s;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.smart-toggle.active::after { transform: translateX(28px); }
.control-status {
    font-size: .85rem;
    font-weight: 600;
    margin-top: .5rem;
}
.control-status.on { color: var(--success); }
.control-status.off { color: var(--text-muted); }

/* Temperature Slider */
.temp-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}
.temp-display small { font-size: 1rem; }
input[type="range"].temp-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--info), var(--danger));
    border-radius: 3px;
    outline: none;
}
input[type="range"].temp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* --- Access Codes --- */
.code-display {
    background: var(--sidebar-bg);
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}
.copy-btn {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: none;
    padding: .4rem .75rem;
    border-radius: 4px;
    font-size: .8rem;
    cursor: pointer;
    transition: background .2s;
}
.copy-btn:hover { background: rgba(255,255,255,.25); }

/* --- Device Monitoring --- */
.device-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all .3s ease;
}
.device-card .card-top-stripe {
    height: 3px;
}
.device-card .card-top-stripe.online { background: var(--success); }
.device-card .card-top-stripe.offline { background: var(--danger); }
.device-card .card-top-stripe.warning { background: var(--warning); }
.status-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.online { background: var(--success); animation: pulse 2s infinite; }
.status-dot.offline { background: var(--danger); }
.status-dot.warning { background: var(--warning); animation: pulse 2s infinite; }
.device-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
}

/* --- Calendar --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e3e6f0;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.calendar-header-cell {
    background: var(--sidebar-bg);
    color: #fff;
    padding: .5rem;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.calendar-cell {
    background: #fff;
    min-height: 80px;
    padding: .35rem;
    font-size: .8rem;
    position: relative;
}
.calendar-cell.today { background: rgba(78,115,223,.05); }
.calendar-cell .day-number {
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: .25rem;
}
.calendar-cell.today .day-number {
    background: var(--accent);
    color: #fff;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.calendar-cell.empty { background: var(--bg-light); }
.booking-bar {
    font-size: .65rem;
    padding: 1px 4px;
    margin-bottom: 2px;
    border-radius: 3px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-bar.booking { background: #003580; }
.booking-bar.airbnb { background: #FF5A5F; }
.booking-bar.direct { background: var(--success); }

/* --- Invoice Preview --- */
.invoice-preview {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent);
}
.invoice-logo { font-size: 1.5rem; font-weight: 800; }
.invoice-logo span { color: var(--accent); }
.invoice-table th { font-size: .8rem; }
.invoice-total {
    text-align: right;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 1rem;
}

/* --- Guest Portal --- */
.welcome-banner {
    background: linear-gradient(135deg, var(--sidebar-bg), var(--accent));
    color: #fff;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.welcome-banner h2 { font-weight: 800; font-size: 2rem; margin-bottom: .5rem; }
.welcome-banner p { opacity: .85; font-size: 1.05rem; }
.price-calculator {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 2px solid #e3e6f0;
}
.price-total {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    text-align: center;
    padding: 1rem;
    background: rgba(78,115,223,.05);
    border-radius: var(--border-radius);
    margin-top: 1rem;
}
.amenity-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    font-size: .95rem;
}
.amenity-item i {
    color: var(--accent);
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}
.rule-item {
    padding: .6rem 0;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.rule-item i { color: var(--warning); }

/* --- Login Page --- */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1c2e 0%, #2d2f45 30%, #4e73df 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.login-container {
    max-width: 900px;
    width: 100%;
    animation: fadeIn .6s ease;
}
.login-logo {
    text-align: center;
    margin-bottom: 3rem;
}
.login-logo h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: .5rem;
}
.login-logo h1 span { color: var(--accent); }
.login-logo h1 i { color: var(--accent); margin-right: .5rem; }
.login-subtitle {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
}
.login-card {
    display: block;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    transition: all .3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.login-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.3);
}
.login-card-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}
.admin-icon { background: rgba(78,115,223,.2); color: var(--accent); }
.employee-icon { background: rgba(28,200,138,.2); color: var(--success); }
.guest-icon { background: rgba(246,194,62,.2); color: var(--warning); }
.login-card h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .5rem;
}
.login-card p {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}
.login-credentials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.login-credentials small {
    color: rgba(255,255,255,.4);
    font-size: .8rem;
}
.login-credentials small i { margin-right: .3rem; }
.login-card-arrow {
    position: absolute;
    bottom: 1rem; right: 1.5rem;
    color: rgba(255,255,255,.2);
    font-size: 1.1rem;
    transition: all .3s;
}
.login-card:hover .login-card-arrow { color: #fff; transform: translateX(4px); }
.login-footer {
    text-align: center;
    margin-top: 2rem;
}
.login-footer p { color: rgba(255,255,255,.3); font-size: .8rem; }
.login-lang-switcher {
    position: fixed;
    top: 1.5rem; right: 1.5rem;
    display: flex; gap: .5rem;
    z-index: 100;
}
.lang-btn {
    padding: .3rem .7rem;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s;
}
.lang-btn.active { background: var(--accent); color: #fff; }
.lang-btn:hover { color: #fff; }

/* Glass effect */
.glass {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
}

/* --- Filter Buttons --- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.filter-btn {
    padding: .4rem 1rem;
    border: 1px solid #e3e6f0;
    background: #fff;
    color: var(--text-muted);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* --- Nav Tabs Override --- */
.nav-tabs { border-bottom: 2px solid #e3e6f0; }
.nav-tabs .nav-link {
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    padding: .75rem 1.25rem;
    font-size: .9rem;
}
.nav-tabs .nav-link.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    background: transparent;
}

/* --- Progress Bars --- */
.progress { height: .5rem; border-radius: .5rem; background: #eee; }

/* --- Ticket expandable --- */
.ticket-detail {
    display: none;
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    font-size: .9rem;
    border-top: 1px solid #e3e6f0;
}
.ticket-row { cursor: pointer; }
.ticket-row:hover { background: rgba(78,115,223,.03); }

/* --- Alerts Box --- */
.alert-devices {
    border-left: 4px solid var(--danger);
    background: rgba(231,74,59,.04);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.alert-device-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.alert-device-item:last-child { border-bottom: none; }

/* --- Utility --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hover-lift { transition: transform .3s ease; }
.hover-lift:hover { transform: translateY(-5px); }

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(28,200,138,.4); }
    70% { box-shadow: 0 0 0 8px rgba(28,200,138,0); }
    100% { box-shadow: 0 0 0 0 rgba(28,200,138,0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .sidebar.active ~ .sidebar-overlay {
        display: block;
    }
    .main-content {
        margin-left: 0;
    }
    .content-area {
        padding: 1rem;
    }
    .stat-card .stat-value { font-size: 1.2rem; }
    .calendar-cell { min-height: 50px; }
    .login-logo h1 { font-size: 1.8rem; }
    .welcome-banner { padding: 2rem 1rem; }
    .welcome-banner h2 { font-size: 1.4rem; }
}

@media (max-width: 576px) {
    .top-bar { padding: .5rem .75rem; }
    .page-title { font-size: .95rem; }
    .notification-menu { width: 280px; }
}

/* --- Print --- */
@media print {
    .sidebar, .top-bar, .sidebar-overlay, .no-print { display: none !important; }
    .main-content { margin-left: 0; }
    .card { box-shadow: none; border: 1px solid #ddd; }
    .card:hover { transform: none; }
}
