/* Reset és alapvető stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
    overflow-x: hidden;
    width: 100%;
    padding-top: 80px; /* hely a fixált fejlécnek */
}

.no-auth #staff-container,
.no-auth #report-container {
    display: none !important;
}

/* Jelentkezési banner - csak bejelentkezés nélkül látható */
.no-auth-only {
    display: none !important;
}

.no-auth .no-auth-only {
    display: block !important;
}

.apply-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 0;
    margin-top: -60px;
    margin-bottom: 0.5rem;
    padding-top: 10px;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.apply-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.apply-banner-text h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.apply-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-apply {
    background-color: #ffffff;
    color: #1e3a8a;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-apply:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-apply i {
    font-size: 1.1rem;
}

/* Responsive stílusok jelentkezési bannerhez */
@media (max-width: 768px) {
    .apply-banner {
        padding: 0.75rem 0;
        padding-top: calc(80px + 0.5rem);
    }

    .apply-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .apply-banner-text h2 {
        font-size: 1.1rem;
    }

    .apply-banner-text p {
        font-size: 0.85rem;
    }

    .btn-apply {
        width: 100%;
        justify-content: center;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Állománytábla szekció teljes szélességű */
.container-full {
    max-width: 100% !important;
    padding: 0 20px;
    /* Alapértelmezetten rejtve, hogy frissítéskor ne villanjon fel */
    display: none;
}

/* Állománytábla: megjelenítést JS vezérli az .active osztállyal és a konténerrel */

/* Header stílusok */
.header {
    background: linear-gradient(135deg, #0a0d14 0%, #1b2434 100%);
    color: #ffffff;
    padding: 0.25rem 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    display: block !important;
    visibility: visible !important;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}


.nav-item {
    color: #999999;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.nav-item.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions {
    position: relative;
}

.user-dropdown {
    position: relative;
}

.btn-login {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-login img {
    display: inline-block !important;
    vertical-align: middle !important;
}

.btn-login:hover {
    background-color: #357abd;
}

/* Dropdown menü */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.active {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

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

.dropdown-header {
    padding: 0.75rem 1rem;
    color: #e0e0e0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #333;
}

.dropdown-divider {
    height: 1px;
    background-color: #333;
    margin: 0.25rem 0;
}

.dropdown-item {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: none;
    color: #e0e0e0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #333;
}

.dropdown-item i {
    width: 16px;
}

.dropdown-section {
    padding: 0.5rem 0;
}

.dropdown-subtitle {
    font-size: 0.85rem;
    color: #999;
    padding: 0 1rem 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal stílusok */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 4rem 1rem;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
}

.modal-content {
    background-color: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 450px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
}

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

.staff-modal-content {
    max-width: 960px;
    width: 95%;
    background-color: #1f1f1f;
}

.staff-modal-content form {
    padding: 0 1.5rem 1.5rem;
}

.staff-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.staff-form-grid .form-group {
    margin-bottom: 0.25rem;
}

.staff-modal-content textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
}

.staff-modal-content textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.exam-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    padding: 0.5rem 0;
}

.exam-checkboxes label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #c7c7c7;
    font-size: 0.95rem;
}

.exam-checkboxes input[type="checkbox"] {
    width: auto;
    height: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #333;
}

.modal-header h2 {
    color: #e0e0e0;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.modal-body {
    padding: 1.5rem;
}

.user-management-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .user-management-content {
        grid-template-columns: 1fr;
    }
}

.user-form-section {
    background-color: #1f1f1f;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.user-form-section h3 {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.user-list-section {
    background-color: #1f1f1f;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.user-list-section h3 {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.user-list {
    margin-top: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #e0e0e0;
    font-size: 1.5rem;
}

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

.user-table th,
.user-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #333;
    text-align: left;
}

.user-table th {
    background-color: #1f1f1f;
    color: #e0e0e0;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.user-actions button {
    border: none;
    background: none;
    color: #e0e0e0;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.user-actions button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.report-modal-content .modal-header {
    padding: 0.85rem 1rem;
}

.report-modal-content .modal-body {
    padding: 1rem;
}

.report-modal-content form {
    padding-bottom: 0;
}

.report-modal-content .form-group {
    margin-bottom: 0.65rem;
}

.report-modal-content .form-row {
    gap: 0.45rem;
}

.report-modal-content .modal-footer {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
}

.report-modal-content textarea {
    min-height: 60px;
}
.form-group input:focus {
    outline: none;
    border-color: #4a90e2;
}

.btn-block {
    width: 100%;
}

.form-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
    border-left: 3px solid #dc3545;
}

.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Main content */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    background-color: #1a1a1a;
    width: 100%;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

/* User management szekció alapértelmezett elrejtése */
#user-management {
    display: none;
}

#user-management.active {
    display: block;
}

/* Top controls - Kereső és Nullázás */
.top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 12px;
    color: #888;
    z-index: 1;
}

.search-box input {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 2px solid #333;
    border-radius: 8px;
    width: 100%;
    background-color: #2a2a2a;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #4a90e2;
}

.btn-reset {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background-color: #dc3545;
    color: white;
}

.btn-reset:hover {
    background-color: #c82333;
}

/* Kalkulátor eredmények */
.calculator-results {
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    color: #e0e0e0;
}

/* Fines section - Bírságok */
.fines-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.fine-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
}

.fine-item.min {
    border-left: 3px solid #dc3545;
}

.fine-item.max {
    border-left: 3px solid #28a745;
}

.fine-icon {
    font-size: 1.3rem;
}

.fine-icon.min {
    color: #dc3545;
}

.fine-icon.max {
    color: #28a745;
}

.fine-content {
    flex: 1;
    text-align: center;
}

.fine-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.15rem;
}

.fine-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sentence section - Letölthető napok */
.sentence-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sentence-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
}

.sentence-item.min {
    border-left: 3px solid #007bff;
}

.sentence-item.max {
    border-left: 3px solid #9c27b0;
}

.sentence-icon {
    font-size: 1.3rem;
}

.sentence-icon.min {
    color: #007bff;
}

.sentence-icon.max {
    color: #9c27b0;
}

.sentence-content {
    flex: 1;
    text-align: center;
}

.sentence-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.15rem;
}

.sentence-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculator-note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px dashed #444;
    border-radius: 8px;
    background-color: #1e1e1e;
    color: #a0a7b2;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Charges section - Vádak */
.charges-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.charges-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.charges-label {
    font-size: 0.9rem;
    color: #888;
}

.charges-value {
    font-size: 1rem;
    color: #e0e0e0;
    font-weight: 500;
}

.copy-btn {
    background: none;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: rgba(74, 144, 226, 0.2);
}

.violations-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.violation-item {
    padding: 0.75rem 1rem;
    background-color: #1e1e1e;
    border-radius: 6px;
    border: 1px solid #333;
    color: #e0e0e0;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.violation-item-text {
    flex: 1;
}

.violation-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}

.violation-remove-btn:hover {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff4757;
}

.violation-remove-btn:active {
    transform: scale(0.9);
}

/* Table styles */
.table-container {
    background-color: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid #333;
    overflow-y: auto;
    max-height: 75vh;
    margin-bottom: 2rem;
}

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

.data-table th {
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #333;
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #333;
    vertical-align: top;
    color: #e0e0e0;
}

.violation-row-child td {
    background-color: #262626;
}

.violation-row-child .paragraph-cell {
    font-size: 0.9rem;
    color: #b0b0b0;
    padding-left: 0.75rem;
}

.violation-row-child .paragraph-cell::before {
    display: none;
}

.violation-row-child .name-cell {
    padding-left: 0.5rem;
}

.weapon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.weapon-header h2 {
    margin: 0;
}

.weapon-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.weapon-search-bar {
    margin-bottom: 1rem;
}

#weapon-search-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #333;
    background-color: #1f1f1f;
    color: #f4f4f4;
    font-size: 1rem;
}

#weapon-search-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.weapon-table-wrapper {
    background-color: #1f1f1f;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    overflow-x: auto;
}

.weapon-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.weapon-table th,
.weapon-table td {
    padding: 0.85rem;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
}

.weapon-table th {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #a0a7b2;
}

.weapon-card-wrapper {
    display: none;
}

.weapon-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.weapon-card {
    background-color: #1f1f1f;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weapon-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weapon-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.weapon-card-header span {
    font-size: 0.9rem;
    color: #a0a7b2;
}

.weapon-card-body p {
    margin: 0.15rem 0;
    font-size: 0.9rem;
    color: #d5d5d5;
}

.weapon-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.weapon-card-footer .btn {
    padding: 0.4rem 0.85rem;
}

.weapon-card-footer .btn.danger {
    background-color: rgba(231, 76, 60, 0.2);
    color: #ff6b6b;
}

.weapon-status {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.weapon-status.valid {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.weapon-status.expired {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.weapon-status.unknown {
    background-color: rgba(149, 165, 166, 0.15);
    color: #bdc3c7;
}

/* Logs */
.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logs-actions .btn {
    min-width: 140px;
}

.logs-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logs-toolbar input {
    flex: 1;
    background: #14181f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.logs-toolbar input::placeholder {
    color: #94a3b8;
}

.logs-toolbar input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    outline: none;
    background: #0f131a;
}

.logs-hint {
    font-size: 0.85rem;
    color: #9ca3af;
}

.logs-table td {
    font-size: 0.95rem;
}

.logs-table td:first-child {
    white-space: nowrap;
}

.logs-empty-state {
    display: none;
    text-align: center;
    padding: 2rem;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #a0aec0;
    margin-top: 1rem;
}

.logs-empty-state.active {
    display: block;
}

/* Szolgálat */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-active-card {
    background: linear-gradient(135deg, rgba(18, 24, 37, 0.95), rgba(13, 16, 23, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.service-active-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(74, 222, 128, 0.25);
    opacity: 0.4;
    pointer-events: none;
}

.service-active-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2), transparent 60%);
    transform: translateX(-50%);
    pointer-events: none;
}

.service-active-card .service-active-header,
.service-active-card .service-active-actions {
    position: relative;
    z-index: 1;
}

.service-active-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    align-items: center;
}

.service-active-header .service-meta-label {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.service-active-header h3 {
    font-size: 2.25rem;
    margin: 0.35rem 0 0;
    letter-spacing: 0.04em;
}

.service-active-time span {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.service-active-time strong {
    font-size: 1.35rem;
}

.service-active-unit-code {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f4f4f5;
}

.service-active-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #34d399;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-active-dot::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.95);
}

.service-active-actions {
    margin-top: 1.5rem;
    display: flex;
.service-active-actions .btn-secondary {
    background: rgba(30, 41, 59, 0.7);
}

.service-active-actions .btn-danger {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

    gap: 1rem;
    flex-wrap: wrap;
}

.service-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(280px, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-history-card,
.service-active-units-card {
    background: #0d1016;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.25rem;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-history-filters {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.service-history-filters .input-group {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: #94a3b8;
}

.service-history-filters input {
    background: #141821;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

.service-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-history-item {
    background: #0b0e13;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.service-history-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.service-history-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.service-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.service-status.completed {
    color: #10b981;
}

.service-status.timeout {
    color: #f87171;
}

.service-status.active {
    color: #3b82f6;
}

.service-history-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #cbd5f5;
}

.service-history-notes {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #bfdbfe;
}

.service-inactivity-countdown {
    margin: 1rem 0;
    text-align: center;
    font-size: 1rem;
    color: #f8fafc;
    letter-spacing: 0.03em;
}

.service-inactivity-countdown .countdown-value {
    display: inline-block;
    min-width: 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.service-presence {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.1rem;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    min-width: 220px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-presence.align-left {
    right: auto;
    left: 24px;
}

.service-presence-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
}

.service-presence-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5f5;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.service-presence-action-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
    color: #fff;
}

.service-presence-body {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.service-presence-indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.9);
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.service-presence-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #e2e8f0;
}

.service-presence-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

.service-presence-unit {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.service-presence-elapsed {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: #cbd5f5;
}

.service-presence-elapsed i {
    color: #fbbf24;
}

.service-presence-collapsed-label {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #f8fafc;
}

.service-presence.collapsed {
    padding: 0.75rem 1rem;
    min-width: auto;
}

.service-presence.collapsed .service-presence-body {
    display: none;
}

.service-presence.collapsed .service-presence-collapsed-label {
    display: inline-flex;
}

.service-presence.collapsed .service-presence-action-btn#service-presence-toggle i {
    transform: rotate(180deg);
}

.service-presence.collapsed .service-presence-action-btn#service-presence-toggle {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Teljesítmény oldal */
.performance-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.performance-header-actions .btn {
    min-width: 150px;
}

.performance-filters {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    background: #0f1729;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.performance-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 180px;
}

.performance-filter-group label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.performance-date-input {
    padding: 0.7rem 1rem;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.performance-date-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #1e2538;
}

.performance-date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
    cursor: pointer;
}

.performance-filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.performance-filter-actions .btn {
    white-space: nowrap;
}

.performance-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.performance-summary-card {
    background: #0f1729;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.1rem 1.3rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.performance-summary-card p {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.performance-summary-card strong {
    display: block;
    font-size: 1.8rem;
    margin: 0.35rem 0;
    color: #f8fafc;
}

.performance-summary-card span {
    font-size: 0.85rem;
    color: #cbd5f5;
}

.performance-table-container {
    background: #0f1729;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.performance-table thead {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.performance-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.performance-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background-color 0.2s ease;
}

.performance-table tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

.performance-table tbody tr.expanded {
    background-color: rgba(59, 130, 246, 0.08);
}

.performance-table tbody tr:nth-child(even) {
    background-color: rgba(15, 23, 42, 0.3);
}

.performance-table tbody tr:nth-child(even):hover {
    background-color: rgba(59, 130, 246, 0.05);
}

.performance-table td {
    padding: 1rem 0.75rem;
    color: #e2e8f0;
    vertical-align: middle;
}

.performance-member-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.performance-member-name > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.performance-member-name strong {
    font-size: 1rem;
    color: #f8fafc;
}

.performance-badge-small {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
    width: fit-content;
}

.performance-empty-value {
    color: #94a3b8;
    font-style: italic;
}

.performance-expand-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.performance-expand-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
}

.performance-history-row {
    background: rgba(15, 23, 42, 0.5) !important;
}

.performance-history-row td {
    padding: 0 !important;
}

.performance-history-container {
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.4);
}

.performance-history-container h4 {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    color: #cbd5f5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.performance-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.performance-history-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.performance-history-item.completed {
    border-left: 3px solid #10b981;
}

.performance-history-item.timeout {
    border-left: 3px solid #f87171;
}

.performance-history-item.active {
    border-left: 3px solid #3b82f6;
}

.performance-history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.performance-history-unit {
    font-weight: 600;
    font-size: 1rem;
    color: #f8fafc;
}

.performance-history-status {
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.performance-history-status.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.performance-history-status.timeout {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.performance-history-status.active {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.performance-history-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.performance-history-item-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.performance-history-item-details i {
    color: #94a3b8;
    width: 14px;
}

.performance-history-notes {
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #bfdbfe;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.performance-history-notes i {
    color: #3b82f6;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.performance-history-empty {
    text-align: center;
    padding: 1.5rem;
    color: #94a3b8;
    font-style: italic;
}

.performance-empty {
    text-align: center;
    padding: 1.75rem;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #a0aec0;
    display: none;
}

.performance-empty.active {
    display: block;
}

@media (max-width: 768px) {
    .service-presence {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 16px;
        width: calc(100% - 32px);
    }
    .service-presence.align-left {
        left: 50%;
    }
}

.service-empty {
    text-align: center;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #94a3b8;
    display: none;
}

.service-empty.active {
    display: block;
}

.service-active-units {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-active-unit {
    background: #0b0f15;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.service-active-unit.self {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.08);
}

.service-active-unit-info h4 {
    margin: 0;
}

.service-unit-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.9rem;
    color: #cbd5f5;
}

.service-unit-meta strong {
    color: #f8fafc;
    font-weight: 600;
}

.service-unit-members {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.service-unit-member-pill {
    background: rgba(59, 130, 246, 0.15);
    color: #dbeafe;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.service-unit-member-pill.primary {
    background: rgba(16, 185, 129, 0.15);
    color: #bbf7d0;
    border-color: rgba(16, 185, 129, 0.4);
}

.service-active-unit-info span {
    font-size: 0.85rem;
    color: #94a3b8;
}

.service-active-unit .btn {
    min-width: 80px;
}

.weapon-empty-state {
    display: none;
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px dashed #444;
    text-align: center;
    color: #a0a7b2;
}

.weapon-empty-state.active {
    display: block;
}

.weapon-modal .modal-content {
    max-width: 520px;
    width: 92%;
}

.weapon-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.weapon-modal-grid .form-group {
    margin-bottom: 0.35rem;
}

.weapon-modal .modal-header,
.weapon-modal .modal-body {
    padding: 1rem;
}

.weapon-modal .modal-footer {
    padding: 0.75rem 1rem;
}

.weapon-modal textarea {
    min-height: 120px;
}

.weapon-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background-color: rgba(74, 144, 226, 0.15);
    color: #4a90e2;
}

.weapon-tag.negative {
    background-color: rgba(231, 76, 60, 0.2);
    color: #ff6b6b;
}
.data-table tr {
    background-color: #2a2a2a;
}

.data-table tr:hover {
    background-color: #2c2c2c;
}

.data-table tr:nth-child(even) {
    background-color: #242424;
}

.data-table tr:nth-child(even):hover {
    background-color: #262626;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
        gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2a5298;
    color: white;
}

.btn-primary:hover {
    background-color: #1e3c72;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Jelentéskezelő */
.section-eyebrow {
    text-transform: uppercase;
    color: #8f9bb3;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: #b0b7c3;
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.report-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.report-page-header .btn {
    flex-shrink: 0;
}

.report-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.report-stat-card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.25rem;
}

.report-stat-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 0.35rem;
}

.report-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.report-stat-subtitle {
    font-size: 0.85rem;
    color: #8a93a5;
    margin-top: 0.25rem;
}

.report-filters {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    align-items: end;
    margin-bottom: 2rem;
}

.report-filters .form-group {
    margin-bottom: 0;
}

.reporter-filter {
    display: none;
}

.reporter-filter.active {
    display: block;
}

.report-filters-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}

.report-table-card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
}

.report-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.reports-table .type-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.type-pill.csekk {
    background-color: rgba(74, 144, 226, 0.15);
    color: #4a90e2;
}

.type-pill.borton {
    background-color: rgba(155, 89, 182, 0.15);
    color: #c678dd;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-pill + .status-pill {
    margin-left: 0.35rem;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.status-under_review {
    background-color: rgba(0, 123, 255, 0.15);
    color: #4dabff;
}

.status-resolved {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-cancelled {
    background-color: rgba(220, 53, 69, 0.15);
    color: #ff6b81;
}

.report-person {
    font-weight: 600;
    font-size: 1rem;
    color: #f1f1f1;
}

.report-charges {
    font-size: 0.85rem;
    color: #9fa6b2;
    margin-top: 0.2rem;
}

.reports-empty-state {
    padding: 2rem;
    text-align: center;
    color: #9fa6b2;
    font-size: 0.95rem;
    display: none;
}

.reports-empty-state.active {
    display: block;
}

.report-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    border: none;
    background-color: rgba(255, 255, 255, 0.08);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #e0e0e0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-icon.delete {
    color: #ff6b6b;
}

.btn-icon.resolve {
    color: #4bd173;
}

.btn-icon.resolve:hover {
    background-color: rgba(75, 209, 115, 0.2);
}

.btn-icon.edit {
    color: #4dabff;
}

.report-modal-content {
    max-width: 420px;
    width: 88%;
}

.form-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
}

.status-field {
    margin-top: 1rem;
}

.input-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #a0a7b2;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .top-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .fines-section,
    .sentence-section {
        flex-direction: column;
    }
    
    .fine-item,
    .sentence-item {
        min-width: 100%;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem 0.25rem;
    }

    .report-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-filters {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .report-filters-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .report-filters-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .data-table {
        font-size: 0.7rem;
    }
    
    .fine-value,
    .sentence-value {
        font-size: 1.2rem;
    }
}

/* Animációk */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.active {
    animation: fadeIn 0.3s ease-in-out;
}

/* Checkbox styles */
.checkbox-cell {
    text-align: center;
    width: 50px;
    background-color: transparent;
}

.checkbox-cell input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4a90e2;
}

.data-table tr:nth-child(even) .checkbox-cell {
    background-color: transparent;
}

.data-table tr:not(:nth-child(even)) .checkbox-cell {
    background-color: transparent;
}

/* Görgetősáv szín */
body,
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a transparent;
}

body::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background-color: #3a3a3a;
    border-radius: 4px;
}

.stat-number {
    font-weight: 600;
}

.stat-warning {
    color: #ff4f5e;
}

.stat-plus {
    color: #4cd970;
}

.stat-error {
    color: #ff4f5e;
}

/* Állománytag információ modal */
.staff-info-content {
    max-width: 720px;
    width: 100%;
    background-color: #1f1f1f;
    margin: auto;
    padding: 1.5rem 2rem 1.75rem;
}

.staff-info-hero {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #2c2c2c;
    padding-bottom: 1rem;
}

.staff-info-hero-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.staff-info-name h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #f4f4f4;
}

.staff-info-rank-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

.staff-info-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.75rem;
    margin-top: 0.75rem;
}

.staff-info-item {
    padding: 0;
    border: none;
    background: transparent;
}

.staff-info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9d9d9d;
    margin-bottom: 0.2rem;
    display: block;
}

.staff-info-value {
    font-size: 1rem;
    color: #f7f7f7;
    font-weight: 500;
}

.staff-info-hero-stats {
    display: flex;
        gap: 2rem;
        flex-wrap: wrap;
        margin-top: 1rem;
}

.staff-info-hero-stats > div {
    min-width: 120px;
}

.staff-info-section {
    margin-top: 1.1rem;
}

.staff-info-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: #9c9c9c;
}

.staff-info-text {
    margin: 0.35rem 0 0;
    color: #dcdcdc;
    line-height: 1.5;
}

.staff-info-notes {
    margin: 0.35rem 0 0;
    padding-left: 1.25rem;
    color: #dcdcdc;
    line-height: 1.5;
}

.staff-info-notes li {
    margin-bottom: 0.25rem;
}

.staff-info-exams {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin-top: 0.35rem;
}

.staff-info-exam {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.staff-info-exam.passed {
    color: #63f174;
}

.staff-info-exam.failed {
    color: #ff6c7a;
}

.staff-info-value.OK {
    color: #6af07d;
}

.staff-info-value.danger {
    color: #ff6c7a;
}

.staff-info-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    margin-left: 0.4rem;
}

.staff-info-chip.success {
    background-color: rgba(107, 223, 152, 0.18);
    color: #79ffb3;
}

.staff-info-chip.warning {
    background-color: rgba(255, 210, 99, 0.2);
    color: #ffd764;
}

/* Állománytábla stílusok */
.staff-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.staff-table-header h2 {
    color: #e0e0e0;
    font-size: 1.8rem;
    margin: 0;
}

.staff-table-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

#add-staff-btn {
    display: none;
}

.btn-secondary {
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #444;
    border-color: #555;
}

.staff-search-box {
    position: relative;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.staff-search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.staff-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.staff-search-box input:focus {
    outline: none;
    border-color: #4a90e2;
}

.staff-table-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.rank-section {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
}

.staff-table-wrapper {
    width: 100%;
    overflow: visible;
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    color: #e0e0e0;
    font-size: 0.9rem;
    table-layout: auto;
}

.rank-title {
    color: #e0e0e0;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a90e2;
}


.staff-table thead {
    background-color: #2a2a2a;
}

.staff-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #e0e0e0;
    border-bottom: 2px solid #333;
    white-space: nowrap;
}

.staff-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #333;
    background-color: #1e1e1e;
}

.staff-table tbody tr:hover {
    background-color: #252525;
}

.staff-table tbody tr:nth-child(even) {
    background-color: #242424;
}

.staff-table tbody tr:nth-child(even):hover {
    background-color: #252525;
}

/* Rang badge stílusok */
.rank-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.rank-badge.purple {
    background-color: #9b59b6;
    color: white;
}

.rank-badge.red {
    background-color: #e74c3c;
    color: white;
}

.rank-badge.green {
    background-color: #27ae60;
    color: white;
}

.rank-badge.blue {
    background-color: #3498db;
    color: white;
}

.rank-badge.orange {
    background-color: #e67e22;
    color: white;
}

.rank-badge.teal {
    background-color: #1abc9c;
    color: white;
}

.rank-badge.gold {
    background-color: #f1c40f;
    color: #1f1f1f;
}

.rank-badge.yellow {
    background-color: #f39c12;
    color: white;
}

/* Vizsgák ikonok */
.exam-icons {
    display: flex;
    gap: 0.25rem;
}

.exam-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
}

.exam-icon.passed {
    background-color: #27ae60;
    color: white;
}

.exam-icon.failed {
    background-color: #e74c3c;
    color: white;
}

/* Szanitéc stílus */
.medic-status {
    font-weight: 600;
}

.medic-status.yes {
    color: #27ae60;
}

.medic-status.no {
    color: #e74c3c;
}

/* Előléptetés badge */
.promotion-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.promotion-badge.eligible {
    background-color: #27ae60;
    color: white;
}

.promotion-badge.waiting {
    background-color: #f39c12;
    color: white;
}

.promotion-badge.unavailable {
    background-color: #7f8c8d;
    color: white;
}

/* Műveletek gombok */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.action-btn {
    background-color: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.action-btn:hover {
    background-color: #333;
    color: #e0e0e0;
}

.action-btn.info {
    color: #3498db;
}

.action-btn.edit {
    color: #f39c12;
}

.action-btn.delete {
    color: #e74c3c;
}

.action-btn.info:hover {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.action-btn.edit:hover {
    background-color: rgba(243, 156, 18, 0.2);
    color: #f39c12;
}

.action-btn.delete:hover {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Profil ikon */
.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #4a90e2;
    color: white;
    display: inline-flex;
        align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Avatar képek */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-avatar-dropdown {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.staff-info-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-right: 1rem;
}

/* Responsive design állománytáblához */
@media (max-width: 1200px) {
    .staff-table {
        font-size: 0.8rem;
    }
    
    .staff-table th,
    .staff-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .staff-table-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .staff-table-actions {
        width: 100%;
    }
    
    .btn-secondary,
    .btn-primary {
        flex: 1;
        min-width: 0;
    }
}

/* ============================================
   ÁTFOGÓ MOBIL RESPONSIVE STÍLUSOK
   ============================================ */

/* Tablet és kisebb (max-width: 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }

    /* Header mobil optimalizálás */
    .header {
        padding: 0.75rem 0;
    }

    .header .container {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .logo h1 {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .header-nav {
        order: 3;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-top: 0.75rem;
        padding-top: 0.5rem;
    }

    .nav-item {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        flex: 1 1 calc(50% - 0.2rem);
        min-width: calc(50% - 0.2rem);
        text-align: center;
        white-space: nowrap;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }


    .btn-login {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
    }

    .btn-login span {
        display: inline;
    }

    /* Dropdown menü mobilra */
    .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 180px;
        max-width: calc(100vw - 20px);
    }

    /* Container padding csökkentése */
    .container,
    .container-full {
        padding: 0 15px;
    }

    /* Táblázatok mobil optimalizálása */
    .data-table,
    .staff-table,
    .performance-table,
    .weapon-reports-table,
    .logs-table {
        font-size: 0.75rem;
    }

    /* Mobil nézet: táblázat card layout-ra */
    .data-table thead,
    .staff-table thead,
    .performance-table thead,
    .weapon-reports-table thead,
    .logs-table thead {
        display: none;
    }

    .data-table tbody,
    .staff-table tbody,
    .performance-table tbody,
    .weapon-reports-table tbody,
    .logs-table tbody {
        display: block;
    }

    .data-table tbody tr,
    .staff-table tbody tr,
    .performance-table tbody tr:not(.performance-history-row),
    .weapon-reports-table tbody tr,
    .logs-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        background: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .data-table tbody td,
    .staff-table tbody td,
    .performance-table tbody td:not(.performance-history-row td),
    .weapon-reports-table tbody td,
    .logs-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        text-align: right;
        width: 100%;
        box-sizing: border-box;
    }

    .data-table tbody td:before,
    .staff-table tbody td:before,
    .performance-table tbody td:before,
    .weapon-reports-table tbody td:before,
    .logs-table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        color: #94a3b8;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    /* Performance history row maradjon normál */
    .performance-history-row {
        display: table-row !important;
    }

    .performance-history-row td {
        display: table-cell !important;
    }

    /* Modálok mobil optimalizálása */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 10px auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .modal-footer .btn {
        width: 100%;
    }

    /* Form elemek mobil optimalizálása */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    /* Gombok mobil optimalizálása */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-height: 44px; /* Touch target size */
    }

    .btn-icon {
        min-width: 44px;
        min-height: 44px;
    }

    /* Grid layoutok mobilra */
    .performance-summary-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .performance-filters {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .performance-filter-group {
        width: 100%;
    }

    .performance-filter-actions {
        width: 100%;
        flex-direction: column;
    }

    .performance-filter-actions .btn {
        width: 100%;
    }

    /* Service presence indicator mobilra */
    .service-presence {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
    }

    .service-presence.align-left {
        left: 10px;
        right: auto;
        width: calc(100% - 20px);
        max-width: 300px;
    }

    /* Summary cards mobilra */
    .performance-summary-card {
        padding: 0.9rem 1rem;
    }

    .performance-summary-card p {
        font-size: 0.75rem;
    }

    .performance-summary-card strong {
        font-size: 1.3rem;
    }

    /* Section headers mobilra */
    .section-header,
    .performance-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .performance-header-actions {
        width: 100%;
    }

    .performance-header-actions .btn {
        width: 100%;
    }

    /* Service stats grid mobilra */
    .service-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Service active card mobilra */
    .service-active-card {
        padding: 1rem;
    }

    /* Service history mobilra */
    .service-history-item {
        padding: 0.75rem;
    }

    /* Logs table mobilra */
    .logs-table {
        font-size: 0.75rem;
    }

    /* Staff table container mobilra */
    .staff-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Calculator results mobilra */
    .calculator-results {
        padding: 1rem;
    }

    .selected-violations {
        padding: 0.75rem;
    }

    /* Report filters mobilra */
    .report-filters {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    /* Weapon reports table mobilra */
    .weapon-reports-table {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 140px;
    }

    .header {
        padding: 0.6rem 0;
    }

    .header .container {
        padding: 0 8px;
        gap: 0.5rem;
    }

    .logo h1 {
        font-size: 0.85rem;
    }

    .header-nav {
        gap: 0.3rem;
        margin-top: 0.4rem;
    }

    .nav-item {
        font-size: 0.7rem;
        padding: 0.45rem 0.5rem;
        min-width: calc(50% - 0.15rem);
        line-height: 1.2;
    }

    .btn-login {
        font-size: 0.75rem;
        padding: 0.45rem 0.6rem;
    }

    .btn-login span {
        display: none; /* Csak ikon kis mobilokon */
    }

    .btn-login i {
        margin-right: 0;
    }

    /* Dropdown menü kis mobilokra */
    .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 160px;
        max-width: calc(100vw - 16px);
        font-size: 0.85rem;
    }

    .dropdown-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    .dropdown-header {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }

    .container,
    .container-full {
        padding: 0 10px;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .data-table,
    .staff-table,
    .performance-table {
        font-size: 0.7rem;
    }

    .data-table td,
    .staff-table td,
    .performance-table td {
        padding: 0.4rem 0;
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .performance-summary-card {
        padding: 0.75rem;
    }

    .performance-summary-card strong {
        font-size: 1.1rem;
    }

    .section-header h2,
    .performance-header h2 {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    /* Service presence indicator kis mobilra */
    .service-presence {
        bottom: 5px;
        left: 5px;
        right: 5px;
        padding: 0.5rem;
    }

    .service-presence.align-left {
        left: 5px;
        right: auto;
        width: calc(100% - 10px);
    }
}

/* Horizontális orientáció mobilokon */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-content {
        max-height: 85vh;
    }

    .header .container {
        flex-direction: row;
        align-items: center;
    }

    .header-nav {
        order: 1;
        flex: 1;
    }

    .header-actions {
        order: 2;
        width: auto;
    }
}