:root {
    --primary: #6366f1;
    --primary-light: #eef2ff;
    --success: #22c55e;
    --success-light: #f0fdf4;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    display: flex;
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
}

/* SIDEBAR - Modernija verzija */
.sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-header {
    padding: 30px 20px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-links { list-style: none; padding: 0 15px; }
.nav-links li { margin-bottom: 8px; }
.nav-links a {
    display: flex; align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links li.active a {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-links i { margin-right: 12px; font-size: 1.2rem; }

/* MAIN CONTENT */
.content { flex: 1; padding: 40px; overflow-y: auto; }
.container { max-width: 1400px; margin: 0 auto; }

/* TOP KPI CARDS */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.kpi-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.kpi-card:hover { transform: translateY(-5px); }

.kpi-info p { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; }
.kpi-info h3 { font-size: 1.8rem; font-weight: 800; }
.kpi-info span { font-size: 0.8rem; font-weight: bold; }

.kpi-icon {
    width: 55px; height: 55px;
    border-radius: 15px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.4rem;
}

/* MAIN DASHBOARD LAYOUT */
.dashboard-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.panel {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.panel-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px;
}

.panel-header h3 { font-size: 1.2rem; font-weight: 700; }

/* LISTS & ITEMS */
.notification-item {
    display: flex; align-items: center;
    padding: 20px;
    background: #fcfcfd;
    border-radius: 16px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary);
}

.notif-content { flex: 1; margin: 0 15px; }
.notif-content h4 { font-size: 0.95rem; margin-bottom: 3px; }
.notif-content p { font-size: 0.85rem; color: var(--text-muted); }

/* BUTTONS */
.btn-action {
    background: var(--primary);
    color: white; border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-ghost {
    background: var(--primary-light);
    color: var(--primary);
    padding: 12px; border-radius: 12px;
    text-align: center; text-decoration: none;
    font-weight: 700; transition: 0.2s;
}
.btn-ghost:hover { filter: brightness(0.95); }

@media (max-width: 1100px) {
    .dashboard-layout { grid-template-columns: 1fr; }
}
/* --- STIL ZA FORMU RADNIK.PHP --- */

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolone za bazu */
    gap: 20px;
    align-items: end;
}

/* Specifični rasporedi po redovima */
.field-id { grid-column: span 1; }
.field-active { grid-column: span 3; padding-bottom: 10px; }
.field-q1 { grid-column: span 1; } /* Četvrtina reda */
.field-half { grid-column: span 2; } /* Polovina reda */
.field-full { grid-column: span 4; } /* Puni red */

/* Label i Input styling - Izmijenjeno za svjetlija polja */
.section label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.section input[type="text"], 
.section input[type="date"], 
.section select {
    width: 100%;
    padding: 12px 15px;
    /* Promjena: Svjetlija pozadina i jasnija ivica */
    border: 1.5px solid #e2e8f0; 
    background: #ffffff; 
    color: var(--text-main);
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Stil za fokus ostaje isti ili ga možemo pojačati */
.section input:focus, .section select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Posebna korekcija za ID polje da prati isti stil */
.small-id-input {
    background-color: #ffffff !important; 
    border: 1.5px solid #e2e8f0 !important;
}

/* Checkbox i inline labela */
.inline-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.inline-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

/* Button styling */
button[type="submit"] {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 30px auto 0;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
    transition: 0.3s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

/* RESPONZIVNOST */
@media (max-width: 1024px) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .field-id, .field-active, .field-q1, .field-half, .field-full { grid-column: span 1; }
    .field-active { padding-bottom: 0; margin-top: 10px; }
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .section { padding: 20px; }
}

/* Kontejner koji drži ID i Aktivan u istoj liniji */
.id-status-row {
    display: flex !important;
    align-items: flex-end; /* Poravnava checkbox sa dnom input polja */
    gap: 100px; /* Razmak između ID polja i checkboxa */
    grid-column: span 4; /* Zauzima cijelu širinu grida */
    margin-bottom: 10px;
}

/* Ograničavanje širine ID polja na npr. 120px */
.id-input-group {
    width: 120px; 
}

.small-id-input {
    width: 100% !important;
    text-align: center; /* Opcionalno: centriranje broja u polju */
	
}

/* Osigurava da checkbox i tekst "Aktivan" budu u ravni */
.active-checkbox-group {
    padding-bottom: 12px; /* Podešavanje visine da prati sredinu inputa */
}

.inline-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap; /* Sprečava prelamanje teksta "Aktivan" */
}

/* Responzivnost: na mobitelu neka ipak idu jedno ispod drugog ako nema mjesta */
@media (max-width: 480px) {
    .id-status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .id-input-group {
        width: 100%;
    }
}
/* Stil za ID polje - neutralno stanje */
.small-id-input {
    width: 100% !important;
    max-width: 120px;
    padding: 10px 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    
    /* Neutralna svijetla pozadina i tanak sivi okvir */
    background-color: #fff !important; 
    border: 1.5px solid #e2e8f0 !important; 
    border-radius: 15px !important;
    
    box-shadow: none; /* Bez sjene u normalnom stanju */
    transition: all 0.2s ease-in-out;
    outline: none;
}

/* Stil koji se aktivira SAMO kada je polje aktivno za unos (FOKUS) */
.small-id-input:focus {
    background-color: #ffffff !important;
    border: 2px solid #5d5fef !important; /* Plavi/ljubičasti obrub se pojavljuje ovdje */
    box-shadow: 0 0 8px rgba(93, 95, 239, 0.3); /* Sjaj se pojavljuje ovdje */
    color: #000;
}

/* Kontejner za poravnanje */
.id-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.id-input-group label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 2px;
}
.work-days-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary); /* Boja koja prati tvoj brend */
}

.work-days-table td {
    vertical-align: middle;
}
/* Centriranje kvačica i dodavanje prostora */
.checkbox-row td {
    padding-top: 15px !important;
    padding-bottom: 10px !important;
    vertical-align: middle;
}

.checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #5d5fef; /* Tvoja ljubičasta boja */
}

/* Opcionalno: malo posvijetli pozadinu reda sa kvačicama da se razlikuje */
.checkbox-row {
    background-color: #fcfdfe;
}
/* Stil za red sa kvačicama */
.check-days-row td {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    background-color: #fcfdfe; /* Blago istaknuta pozadina reda */
}

/* Povećavamo kvačice radi lakšeg klika na desktopu i mobitelu */
.check-days-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #5d5fef; /* Boja koja odgovara tvom dizajnu */
    display: block;
    margin: 0 auto; /* Centriranje unutar ćelije */
}



/* =============================================
   RADNIK.PHP - RESPONZIVNI STILOVI
   ============================================= */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-header h1 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 3px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-back:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

/* Sekcije */
.r-section {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--card-shadow);
}

.r-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.r-section-title i {
    color: var(--primary);
    font-size: 1rem;
}

/* Grid sistemi */
.r-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.r-grid-4 { grid-template-columns: repeat(4, 1fr); }
.r-grid-3 { grid-template-columns: repeat(3, 1fr); }
.r-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ID + Aktivan red */
.r-row-id {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.r-field-sm { width: 130px; flex-shrink: 0; }

.r-field-check,
.r-field-check-mid {
    padding-bottom: 12px;
}

/* Polja */
.r-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 7px;
}

.r-field input[type="text"],
.r-field input[type="date"],
.r-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: var(--text-main);
    font-size: 0.93rem;
    border-radius: 12px;
    transition: all 0.2s;
    -webkit-appearance: none;
}

.r-field input:focus,
.r-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Smjena toggle checkboxovi */
.shift-toggle {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

/* Desktop tabela */
.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
}

.work-days-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.work-days-table th,
.work-days-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.work-days-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-days-table td:first-child { text-align: left; padding-left: 4px; }

.time-input {
    width: 68px;
    padding: 7px 5px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-main);
}

.time-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ── MOBILNE KARTICE ZA DANE ── */
.mobile-days-grid {
    display: none; /* Skriveno na desktopu */
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.mobile-day-card {
    background: #f8fafc;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s;
}

.mobile-day-card.inactive {
    opacity: 0.45;
}

.mcard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: white;
    border-bottom: 1.5px solid #e8eef5;
}

.mcard-day {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.mcard-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mcard-row span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    min-width: 55px;
}

.mob-time {
    width: 80px !important;
    font-size: 0.88rem !important;
    padding: 7px 8px !important;
}

.mcard-divider {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 0 2px;
    border-top: 1px solid #e8eef5;
    margin-top: 4px;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 22px;
    transition: 0.2s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(18px);
}

/* Save dugme */
.save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 10px auto 40px;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99,102,241,0.35);
    transition: 0.2s;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}

/* =============================================
   RESPONZIVNOST RADNIK.PHP
   ============================================= */

@media (max-width: 1024px) {
    .r-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .r-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .r-section { padding: 20px 16px; }

    .r-grid-4,
    .r-grid-3,
    .r-grid-2 { grid-template-columns: 1fr; }

    .r-row-id { gap: 20px; }

    /* Sakrij desktop tabele, prikaži mobilne kartice */
    .table-wrap,
    #tri_smjene_container { display: none !important; }

    .mobile-days-grid { display: grid !important; }

    /* Na mobitelu kartice u jednoj koloni na manjim ekranima */
    .mobile-days-grid { grid-template-columns: repeat(2, 1fr); }

    .save-btn { max-width: 100%; }
}

@media (max-width: 480px) {
    .mobile-days-grid { grid-template-columns: 1fr; }
}


/* =============================================
   MOBILNA NAVIGACIJA - HAMBURGER SIDEBAR
   ============================================= */

.mobile-nav-header { display: none; }

.hamburger-btn {
    background: none; border: none; cursor: pointer;
    font-size: 1.4rem; color: var(--text-main);
    padding: 8px 10px; border-radius: 10px; transition: background 0.2s; line-height: 1;
}
.hamburger-btn:hover { background: var(--primary-light); color: var(--primary); }

.mobile-nav-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

.mobile-close-btn {
    display: none; background: none; border: none; cursor: pointer;
    font-size: 1.1rem; color: var(--text-muted);
    padding: 6px 9px; border-radius: 8px; transition: background 0.2s; line-height: 1;
}
.mobile-close-btn:hover { background: #f1f5f9; color: var(--text-main); }

.sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.45); z-index: 99;
}
.sidebar-overlay.active { display: block; }

.sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 40px 20px 18px 20px;
    font-size: 1.4rem; font-weight: 800; color: var(--primary); letter-spacing: -1px;
    border-bottom: 1px solid #f1f5f9; margin-bottom: 8px;
}

@media (max-width: 900px) {
    body { flex-direction: column; }

    .mobile-nav-header {
        display: flex; align-items: center; gap: 14px;
        padding: 13px 18px; background: white;
        border-bottom: 1px solid #e2e8f0;
        position: sticky; top: 0; z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .sidebar {
        position: fixed; top: 0; left: -280px; width: 260px;
        height: 100vh; z-index: 200;
        transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto; box-shadow: none;
    }
    .sidebar.mobile-active { left: 0; box-shadow: 6px 0 24px rgba(0,0,0,0.13); }
    .mobile-close-btn { display: flex; align-items: center; justify-content: center; }
    .content { padding: 20px; width: 100%; }
    .dashboard-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .content { padding: 15px; }
    .dashboard-grid { grid-template-columns: 1fr; gap: 15px; }
}

/* =============================================
   ZAPOSLENI.PHP STILOVI
   ============================================= */

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.status-success { background: var(--success-light); color: var(--success); }
.status-danger  { background: var(--danger-light);  color: var(--danger);  }

/* Filteri */
.zap-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.zap-filter-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    flex: 1;
    min-width: 130px;
}

.zap-filter-field i { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; }

.zap-filter-field input {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--text-main);
    width: 100%;
    outline: none;
}

.zap-filter-field input::placeholder { color: #b0bec5; }

/* Desktop tabela */
.zap-table-wrap { overflow-x: auto; }

.zap-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.zap-table th {
    background: #f8fafc;
    padding: 11px 14px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.zap-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
}

.zap-table tr:hover td { background: #fafbff; }

.zap-table .group-row td {
    padding: 10px 14px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 0.95rem;
}

/* Mobilne kartice - sakrivene na desktopu */
.zap-mobile-list { display: none; }

.zap-group-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 7px 14px;
    border-radius: 10px;
    margin: 14px 0 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.zap-card {
    background: white;
    border: 1.5px solid #e8eef5;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.zap-card:hover { box-shadow: 0 4px 16px rgba(99,102,241,0.1); }

.zap-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.zap-card-avatar {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    flex-shrink: 0;
}

.zap-card-name {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zap-card-name span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.zap-card-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.zap-card-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.85rem;
    color: var(--text-main);
}

.zap-card-detail:last-child { border-bottom: none; }

.zap-card-detail i {
    color: var(--text-muted);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* =============================================
   MOBILNI BREAKPOINT ZA TABELU
   ============================================= */
@media (max-width: 700px) {
    .zap-table-wrap { display: none; }
    .zap-mobile-list { display: block; }

    .zap-filters { flex-direction: column; }
    .zap-filter-field { min-width: 100%; }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .page-header .btn-action { width: 100%; justify-content: center; }
}
