:root {
    /* Color Palette - V3 Style */
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --glass-border: #e2e8f0;
    --glass-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
    
    --primary: #16a34a; /* Green V3 */
    --primary-hover: #15803d;
    --accent: #2563eb;
    
    --text-main: #0f172a; /* Ink */
    --text-muted: #64748b; /* Ink soft */
    --text-dark: #0f172a;

    /* Typography */
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Layout */
    --sidebar-width: 260px;
    --header-height: 80px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.13), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(14, 165, 233, 0.1), transparent 28%);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

/* Background Animations */
.bg-shape {
    display: none; /* Removed for V3 clean look */
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
}

/* App Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-surface);
    border-right: 1px solid var(--glass-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.logo {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

.brand h2 {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.nav-item i {
    font-size: 20px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transform: translateX(5px);
}

.nav-item.active {
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 14px;
}

.user-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 32px 48px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 15px;
}

.header-actions {
    display: flex;
    gap: 16px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 100px;
}

.search-bar i {
    color: var(--text-muted);
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-family: inherit;
    outline: none;
    width: 250px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Tab Navigation (V3) */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.tab-nav__item {
    border: 1px solid var(--glass-border);
    background: var(--bg-surface);
    color: var(--text-muted);
    border-radius: 11px;
    padding: 9px 14px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: var(--font-sans);
}

.tab-nav__item:hover {
    border-color: #9ab4eb;
    color: var(--text-dark);
}

.tab-nav__item--active {
    background: #dbeafe;
    border-color: #7aa2ed;
    color: #0b3f9e;
}

/* Metrics Grid / KPI Cards (V3) */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    padding: 18px;
    display: grid;
    gap: 8px;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.metric-data h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.metric-data h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

/* Vehicles Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 600;
}

.filters {
    display: flex;
    gap: 8px;
    background: var(--bg-surface);
    padding: 4px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--text-dark);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Grid for Vehicles */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.vehicle-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.vehicle-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.vehicle-card:hover::before {
    opacity: 1;
}

.v-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v-badge {
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.v-plate {
    font-family: monospace;
    font-size: 14px;
    background: #FFD166;
    color: #111;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
}

.v-card-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.v-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.v-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.btn-primary {
    background: transparent;
    color: var(--text-main);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary i {
    transition: var(--transition);
}

.vehicle-card:hover .btn-primary {
    color: var(--primary);
}

.vehicle-card:hover .btn-primary i {
    transform: translateX(4px);
}

.vehicle-card--focused {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), var(--glass-shadow);
    animation: vehicle-focus-pulse 900ms ease-out 2;
}

@keyframes vehicle-focus-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Vehicle details popover */
.vehicle-detail-popover {
    position: absolute;
    z-index: 9999;
    width: min(460px, calc(100vw - 32px));
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.20), 0 4px 12px rgba(15, 23, 42, 0.08);
    animation: vehicle-popover-enter 160ms ease-out both;
}

.vehicle-detail-popover__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--glass-border);
}

.vehicle-detail-popover__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vehicle-detail-popover__icon {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--primary);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    font-size: 1.1rem;
}

.vehicle-detail-popover__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vehicle-detail-popover__title {
    overflow: hidden;
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-detail-popover__close {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--text-muted);
    background: #f8fafc;
    border: 1px solid var(--glass-border);
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: 1.15rem;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.vehicle-detail-popover__close:hover {
    color: var(--text-main);
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.vehicle-detail-popover__close:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 2px;
}

.vehicle-detail-popover__body {
    padding: 17px 20px 20px;
    background: #f8fafc;
}

.vehicle-detail-popover__section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
}

.vehicle-detail-popover__section-title i {
    color: var(--accent);
    font-size: 1rem;
}

.vehicle-detail-comments {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: 330px;
    padding-right: 4px;
    overflow-y: auto;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
}

.vehicle-detail-comment {
    padding: 13px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.035);
    animation: vehicle-comment-enter 180ms ease-out both;
}

.vehicle-detail-comment__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.vehicle-detail-comment__meta strong {
    color: #1d4ed8;
    font-weight: 700;
}

.vehicle-detail-comment__avatar {
    display: inline-grid;
    width: 21px;
    height: 21px;
    margin-right: 2px;
    place-items: center;
    color: #1d4ed8;
    background: #eff6ff;
    border-radius: 50%;
    font-size: 0.74rem;
}

.vehicle-detail-comment__text {
    margin-top: 8px;
    color: var(--text-main);
    font-size: 0.88rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.vehicle-detail-comments__state {
    display: flex;
    min-height: 116px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    background: var(--bg-surface);
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
}

.vehicle-detail-comments__state i {
    font-size: 1.05rem;
}

.vehicle-detail-comments__state--empty i {
    color: #94a3b8;
}

.vehicle-detail-comments__state--error {
    color: #b91c1c;
    background: #fff7f7;
    border-color: #fecaca;
}

@keyframes vehicle-popover-enter {
    from { opacity: 0; transform: translateY(6px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vehicle-comment-enter {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-detail-popover,
    .vehicle-detail-comment {
        animation: none;
    }
}

.aterro-machine-card {
    padding: 18px;
    display: grid;
    gap: 14px;
    align-content: start;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.aterro-machine-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.aterro-machine-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.aterro-machine-card__identity {
    min-width: 0;
}

.aterro-machine-card__identity h3 {
    margin: 0 0 4px;
    overflow: hidden;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aterro-machine-card__identity span,
.aterro-machine-card__summary span,
.aterro-machine-card__timeline span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.aterro-machine-status {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.aterro-machine-status--on {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

.aterro-machine-status--off {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.1);
}

.aterro-machine-status--disconnected {
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
}

.aterro-machine-card__summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.aterro-machine-card__summary strong {
    color: #d97706;
    font-size: 1rem;
}

.aterro-machine-card__timeline {
    display: grid;
    gap: 5px;
}

.aterro-machine-card__timeline strong {
    color: var(--text-main);
}

.aterro-machine-card__timeline .aterro-machine-shutdown {
    color: #b91c1c;
    font-weight: 700;
}

.aterro-machine-card__timeline .aterro-machine-disconnected {
    color: #b45309;
    font-weight: 700;
}

.aterro-machine-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.aterro-machine-card__link:hover {
    text-decoration: underline;
}

.garage-vehicle-card {
    padding: 18px;
    display: grid;
    gap: 12px;
    align-content: start;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.garage-vehicle-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.garage-vehicle-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.garage-vehicle-card__identity {
    min-width: 0;
}

.garage-vehicle-card__identity h3 {
    margin: 0 0 4px;
    overflow: hidden;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.garage-vehicle-card__identity span,
.garage-vehicle-card__permanence span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.garage-vehicle-card__status {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.garage-vehicle-card__status--on {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

.garage-vehicle-card__status--off {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.1);
}

.garage-vehicle-card__category {
    width: fit-content;
    padding: 3px 7px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.1);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.garage-vehicle-card__permanence {
    display: grid;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.garage-vehicle-card__permanence strong {
    color: #1d4ed8;
    font-size: 1rem;
}

.garage-vehicle-card__permanence .garage-vehicle-card__pending {
    color: #64748b;
    font-size: 0.84rem;
}

.garage-vehicle-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.garage-vehicle-card__link:hover {
    text-decoration: underline;
}

.movement-cycle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
}

.admin-operation-alerts {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    background: rgba(254, 242, 242, 0.92);
    box-shadow: 0 10px 28px rgba(127, 29, 29, 0.08);
}

.admin-operation-alerts[hidden] {
    display: none;
}

.admin-operation-alerts__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-operation-alerts__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b91c1c;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-operation-alerts h2 {
    margin: 4px 0 2px;
    color: #7f1d1d;
    font-size: 1rem;
}

.admin-operation-alerts p {
    margin: 0;
    color: #7c2d12;
    font-size: 0.78rem;
}

.admin-operation-alerts__count {
    min-width: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: #dc2626;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
}

.admin-operation-alerts__list {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    max-height: min(34vh, 320px);
    padding-right: 4px;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.admin-operation-alert {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 9px 11px;
    border-radius: 8px;
    color: #431407;
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: background 150ms ease, transform 150ms ease;
}

.admin-operation-alert:hover {
    transform: translateX(2px);
    background: #fff;
}

.admin-operation-alert__identity {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.admin-operation-alert__identity strong,
.admin-operation-alert__identity small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-operation-alert__identity small {
    color: #9a3412;
    font-size: 0.72rem;
}

.admin-operation-alert__duration {
    color: #b91c1c;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-operation-alert__action {
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 750;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .admin-operation-alert {
        grid-template-columns: 1fr auto;
    }

    .admin-operation-alert__action {
        grid-column: 1 / -1;
    }
}

/* Responsive Adjustments for Android / Small Screens */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 24px 12px;
    }
    
    .brand h2, .nav-item span, .user-info {
        display: none;
    }
    
    .nav-item {
        justify-content: center;
        padding: 14px 0;
    }
    
    .main-content {
        margin-left: 80px;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .vehicle-detail-popover {
        position: fixed !important;
        right: 12px;
        bottom: 12px;
        left: 12px !important;
        top: auto !important;
        width: auto;
        max-height: calc(100vh - 24px);
    }

    .vehicle-detail-comments {
        max-height: min(330px, calc(100vh - 190px));
    }

    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 24px;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .brand {
        margin-bottom: 0;
    }
    
    .nav-menu {
        flex-direction: row;
        justify-content: center;
    }
    
    .user-profile {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 16px;
    }
    
    .top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .search-bar {
        flex: 1;
    }
    
    .search-bar input {
        width: 100%;
    }
}
