﻿/* === ОБЩИ СТИЛОВЕ === */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f5f7fa;
    color: #2c3e50;
    overflow-x: hidden;
    line-height: 1.5;
}

/* === Основен layout === */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === Навигация === */
.navbar {
    background: linear-gradient(135deg, #2c5aa0 0%, #3a6bc0 100%);
    color: white;
    padding: 0.75rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* === Основна част === */
.content {
    flex: 1;
    margin: 0.5rem 1vw;
    background: white;
    padding-top: 70px;
    padding-bottom: 80px;
    padding-left: 2rem;
    padding-right: 2rem;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-height: 70vh;
    border: 1px solid #e8edf5;
}

/* === Footer === */
.footer {
    text-align: center;
    align-content: center;
    background: linear-gradient(135deg, #2c5aa0 0%, #3a6bc0 100%);
    color: white;
    margin-top: auto;
    padding: 0.5rem 0;
    max-height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    font-weight: 500;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* --- Лого изображение --- */
.company-logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
    filter: brightness(1.1);
}

/* --- Хамбургер бутон --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
}

    .menu-toggle span {
        background: white;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: #ffb74d;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: #ffb74d;
    }

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    position: relative;
}

    .nav-link:hover {
        color: white;
        background: rgba(255, 255, 255, 0.12);
    }

        .nav-link:hover span {
            text-decoration: underline;
        }

    .nav-link.active {
        color: #ffb74d;
        background: rgba(255, 255, 255, 0.08);
    }

        .nav-link.active span {
            text-decoration: underline;
            font-weight: 600;
        }

        .nav-link.active i {
            color: #ffb74d;
        }

/* === Заглавие === */
.section-header {
    display: block;
    font-size: 2em;
    font-weight: 700;
    text-align: left;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #ff9800;
    position: relative;
}

    .section-header::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, #ff9800, transparent);
    }

/* === Параграф за команди === */
.section-p {
    text-align: left;
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* === Стилове за таблица със скролващо се съдържание и фиксирани заглавия === */
.table-container {
    max-height: calc(90vh - 150px);
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Контейнер за таблицата, който позволява фиксирани заглавия */
.table-wrapper {
    position: relative;
    overflow: auto;
}

/* ФИКСИРАНА ПЪРВА КОЛОНА */
.fixed-column {
    position: sticky;
    left: 0;
    background: white;
    z-index: 8;
    border-right: 2px solid #e2e8f0 !important;
    min-width: 120px;
    width: 120px;
    max-width: 130px;
    font-weight: 500;
}

/* ФИКСИРАНА ВТОРА КОЛОНА (LoadingCity) */
.fixed-column-second {
    position: sticky;
    left: 128px; /* 120px (ширина на първата) + 2px border */
    background: white;
    z-index: 7;
    border-right: 2px solid #e2e8f0 !important;
    min-width: 120px;
    width: 120px;
    max-width: 130px;
}

/* ФИКСИРАНА ТРЕТА КОЛОНА (UnloadingCity) */
.fixed-column-third {
    position: sticky;
    left: 250px; /* 128px + 120px + 2px = 244*/
    background: white;
    z-index: 6;
    border-right: 2px solid #e2e8f0 !important;
    min-width: 120px;
    width: 120px;
    max-width: 130px;
}

/* Коригиране на z-index за заглавията */
.table thead tr.filters th.fixed-column-second,
.table thead tr.filters th.fixed-column-third {
    z-index: 12;
    background: #f8fafc;
}

.table thead tr.headers th.fixed-column-second,
.table thead tr.headers th.fixed-column-third {
    z-index: 11;
    background: linear-gradient(to bottom, #2c5aa0, #3a6bc0);
    top: 38px;
}

.table tbody td.fixed-column-second,
.table tbody td.fixed-column-third {
    z-index: 6;
    background: white;
    border-right: 1px solid #e2e8f0 !important;
}

/* Hover ефекти */
.table tbody tr:hover td.fixed-column-second,
.table tbody tr:hover td.fixed-column-third {
    background: #d8dae6;
    transition: background-color 0.2s ease;
}

.fixed-column,
.fixed-column-second,
.fixed-column-third {
    position: sticky;
    background: white;
    outline: 2px solid #e2e8f0;
    outline-offset: -2px;
}

.normal-colum {
    border-right: 1px solid #e2e8f0 !important;
}

/* Заглавията на фиксираната колона */
.table thead tr.filters th.fixed-column {
    z-index: 12;
    background: #f8fafc;
}

.table thead tr.headers th.fixed-column {
    z-index: 11;
    background: linear-gradient(to bottom, #2c5aa0, #3a6bc0);
    top: 38px;
}

/* Задължително за клетките от данни */
.table tbody td.fixed-column {
    z-index: 7;
    background: white;
}

/* При засенчване при hover */
.table tbody tr:hover td.fixed-column {
    background: #d8dae6;
    transition: background-color 0.2s ease;
}

/* ФИКСИРАНА ПЪРВА ГЛАВА (филтри) */
.table thead tr.filters {
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 10;
    box-shadow: 0 2px 3px rgba(0,0,0,0.08);
}

/* ФИКСИРАНА ВТОРА ГЛАВА (заглавия на колони) */
.table thead tr:not(.filters) {
    position: sticky;
    top: 38px;
    background: linear-gradient(to bottom, #2c5aa0, #3a6bc0);
    z-index: 11;
    box-shadow: 0 2px 3px rgba(0,0,0,0.08);
}

/* Обединяване на старите стилове за таблицата */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    background-color: #fff;
}

th, td {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.4rem;
    text-align: left;
    white-space: nowrap;
}

th {
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* === Стилове за филтрите в таблицата === */
.table thead tr.filters {
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 12;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.table thead tr.headers {
    position: sticky;
    top: 38px;
    background: linear-gradient(to bottom, #2c5aa0, #3a6bc0);
    z-index: 11;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* === Стилове за date inputs във филтрите === */
.filter-date {
    width: 100%;
    padding: 0.2rem 0.3rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.8rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-date:focus {
        outline: none;
        border-color: #2c5aa0;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.15);
    }

    /* Подобряване на външния вид на date picker-а */
    .filter-date::-webkit-calendar-picker-indicator {
        cursor: pointer;
        padding: 0.2rem;
        filter: invert(40%);
    }

    .filter-date::-webkit-datetime-edit-fields-wrapper {
        padding: 0.1rem;
    }

a.sortable-header {
    text-decoration: none;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    padding: 2px 0;
}

    a.sortable-header:hover {
        color: rgba(255, 255, 255, 0.95) !important;
        transform: translateY(-1px);
    }

.sort-indicator {
    font-size: 0.8em;
    color: #ffb74d;
    font-weight: bold;
}

/* Адаптивни стилове за мобилни */
@media (max-width: 900px) {
    .filter-date {
        font-size: 0.7rem;
        padding: 0.15rem 0.2rem;
    }

    .filter-date {
        min-width: 100px;
    }
}

/* За браузъри, които не поддържат type="date" */
.filter-date:invalid::-webkit-datetime-edit {
    color: #94a3b8;
}

/* Стилове за inputs и selects във филтрите */
.filter-input {
    width: 100%;
    padding: 0.2rem 0.3rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.8rem;
    background-color: white;
    transition: all 0.2s ease;
}

.filter-select {
    width: 100%;
    padding: 0.2rem 0.3rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.8rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-input:focus,
    .filter-select:focus {
        outline: none;
        border-color: #2c5aa0;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.15);
    }

/* Стилове за бутоните във филтрите */
.filter-actions {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
}

.btn-filter, .btn-clear {
    padding: 0.3rem 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    gap: 4px;
    font-weight: 500;
}

.btn-filter {
    background: linear-gradient(to bottom, #2c5aa0, #1e4780);
    color: white;
}

.btn-clear {
    background: linear-gradient(to bottom, #64748b, #475569);
    color: white;
}

.btn-filter:hover {
    background: linear-gradient(to bottom, #1e4780, #163a66);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-clear:hover {
    background: linear-gradient(to bottom, #475569, #374151);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Адаптивни стилове за мобилни */
@media (max-width: 900px) {
    .filter-input,
    .filter-select {
        font-size: 0.7rem;
        padding: 0.15rem 0.2rem;
    }

    .table thead tr.headers {
        top: 32px;
    }
}

tr:nth-child(even) {
    background-color: #f8fafc;
}

tr:hover {
    background-color: #d8dae6;
    transition: background-color 0.2s ease;
}

table::after {
    content: "";
    position: sticky;
    right: 0;
    width: 20px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
    pointer-events: none;
}

/* линкове в таблицата */
.table a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .table a:hover {
        text-decoration: underline;
        color: #1e4780;
    }

/* === Бутони === */
.btn, button, input[type=submit] {
    display: inline-block;
    background: linear-gradient(to bottom, #2c5aa0, #1e4780);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .btn:hover, button:hover, input[type=submit]:hover {
        background: linear-gradient(to bottom, #1e4780, #163a66);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .btn:active, button:active, input[type=submit]:active {
        transform: translateY(0);
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

/* === FLOATING ФОРМОВИ БУТОНИ (ЗА СЪЗДАВАНЕ НА УСЛУГА) === */
.floating-form-actions {
    position: fixed;
    top: 85px;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .floating-form-actions.scrolled {
        top: 85px;
        transform: translateY(0);
    }

    .floating-form-actions .floating-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border: none;
        cursor: pointer;
    }

    .floating-form-actions .floating-btn-primary {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
    }

    .floating-form-actions .floating-btn-secondary {
        background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
        color: white;
    }

    .floating-form-actions .floating-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .floating-form-actions .floating-btn:active {
        transform: translateY(-1px) scale(0.98);
    }

    .floating-form-actions .btn-tooltip {
        position: absolute;
        right: 65px;
        background: rgba(44, 90, 160, 0.95);
        color: white;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        transform: translateX(10px);
        transition: all 0.3s ease;
        pointer-events: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

        .floating-form-actions .btn-tooltip::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -5px;
            transform: translateY(-50%);
            border-left: 5px solid rgba(44, 90, 160, 0.95);
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
        }

    .floating-form-actions .floating-btn:hover .btn-tooltip {
        opacity: 1;
        transform: translateX(0);
    }

/* === Login форма === */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
}

.login-box {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 380px;
    max-width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e8edf5;
}

.login-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

    .login-logo img {
        max-width: 80%;
        height: 60px;
        width: auto;
        object-fit: contain;
        filter: brightness(1.1);
    }

.login-box h2 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.8rem;
}

/* Полета */
.login-box .form-group {
    width: 100%;
    margin-bottom: 1.2rem;
    text-align: left;
}

    .login-box .form-group label {
        font-weight: 500;
        margin-bottom: 0.4rem;
        display: block;
        color: #4a5568;
    }

.login-box .form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

    .login-box .form-control:focus {
        border-color: #2c5aa0;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.2);
        outline: none;
        background-color: white;
    }

/* Бутон */
.login-box .btn-primary {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    border-radius: 6px;
    background: linear-gradient(to bottom, #2c5aa0, #1e4780);
    color: white;
    border: none;
    margin-top: 1rem;
    transition: all 0.2s ease;
    font-weight: 600;
}

    .login-box .btn-primary:hover {
        background: linear-gradient(to bottom, #1e4780, #163a66);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

/* === Responsive меню === */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 60px;
        right: 0;
        width: 220px;
        background: linear-gradient(135deg, #2c5aa0 0%, #3a6bc0 100%);
        padding: 1rem 0;
        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        border-radius: 0 0 0 8px;
        animation: fadeOut 0.3s ease forwards;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

        .nav-links.show {
            display: flex;
            animation: fadeIn 0.3s ease forwards;
        }

        .nav-links a {
            width: 100%;
            padding: 0.75rem 1.5rem;
            display: block;
        }

            .nav-links a:hover {
                background-color: rgba(255, 255, 255, 0.12);
                color: white;
            }

    .content {
        margin: 1rem;
        padding: 1rem;
        border-radius: 6px;
    }

    /* FLOATING BUTTONS RESPONSIVE */
    .floating-form-actions {
        top: auto;
        bottom: 70px;
        right: 1rem;
        left: 1rem;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

        .floating-form-actions .floating-btn {
            width: 50px;
            height: 50px;
            font-size: 1.1rem;
        }

        .floating-form-actions .btn-tooltip {
            display: none;
        }

    table {
        font-size: 0.9rem;
    }

    .login-box {
        width: 90%;
        padding: 1.5rem 1rem;
    }

    .login-logo img {
        height: 50px;
    }
}

/* === Формуляри === */
.page-title {
    color: #2c5aa0;
    text-align: center;
    margin-top: 1rem;
    font-size: 2.2rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    position: relative;
}

    .page-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: #ff9800;
        border-radius: 2px;
    }

.form-wrapper {
    max-width: 950px;
    margin: 0 auto 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e8edf5;
}

.form-section {
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #f8fafc;
    position: relative;
}

    .form-section legend {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c5aa0;
        padding: 0 0.75rem;
        background: white;
        position: absolute;
        top: -12px;
        left: 20px;
        margin: 0;
    }

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

.form-group {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.form-group-small {
    flex: 1;
    max-width: 180px;
    display: flex;
    flex-direction: column;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 240px;
}

.form-group-checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

    .form-group-checkbox:hover {
        background-color: rgba(226, 232, 240, 0.5);
    }

    .form-group-checkbox label {
        font-size: 0.95rem;
        color: #4a5568;
        cursor: pointer;
        font-weight: 500;
    }

    .form-group-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #2c5aa0;
    }

.form-actions {
    text-align: right;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* === Responsive форми === */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .edit-style-form {
        padding: 1.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* === Формови контроли === */
.form-control {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    background-color: #f8fafc;
    color: #2d3748;
    transition: all 0.2s ease;
}

    .form-control:focus {
        outline: none;
        border-color: #2c5aa0;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.15);
        background-color: white;
    }

    .form-control[readonly] {
        background-color: #edf2f7;
        cursor: default;
        color: #718096;
    }

/* === Подравнявания === */
.text-end {
    text-align: right;
}

.link-details {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .link-details:hover {
        text-decoration: underline;
        color: #1e4780;
    }

/* === Последна колона (действия) да е фиксирана === */
table thead th:last-child,
table tbody td:last-child {
    position: sticky;
    right: 0;
    background: #fff;
    box-shadow: -3px 0 6px rgba(0,0,0,0.08);
    z-index: 2;
}

/* Последна колона — минимално място, позиционираме контейнер вътре */
td.action-buttons,
th.action-header {
    position: relative;
    width: 0;
    padding: 0;
    vertical-align: middle;
}

/* Плаващ контейнер с иконките */
.action-buttons .action-float {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    display: flex;
    gap: 0.45rem;
    align-items: center;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

/* Иконките (цветни) */
.action-float a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: inherit;
    text-decoration: none;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    /* Индивидуални цветове */
    .action-float a.edit i {
        color: #10b981;
    }

    .action-float a.details i {
        color: #3b82f6;
    }

    .action-float a.delete i {
        color: #ef4444;
    }

    .action-float a.copy-btn i {
        color: #8b5cf6;
    }

/* SHOW: когато мишката е над реда - показваме контейнера и правим го кликаем */
tbody tr:hover .action-float {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* При hover върху самите икони - лек ефект */
.action-float a:hover {
    background: rgba(44, 90, 160, 0.08);
    transform: scale(1.15);
}

    .action-float a:hover i {
        filter: brightness(1.1);
    }

/* Ако искаш да запазиш sticky поведението за последната колона */
td.action-buttons.sticky,
th.action-header.sticky {
    position: sticky;
    right: 0;
    z-index: 3;
    background: linear-gradient(to left, rgba(255,255,255,1) 85%, rgba(255,255,255,0) 100%);
}

/* Стилове за прекъсване на дълги текстове */
.text-break {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Специфични стилове за link-details с дълъг текст */
.link-details.text-break {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
}

.nav-links li a.active span {
    text-decoration: underline;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
    margin-right: auto;
    margin-left: 2rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

    .user-info i {
        font-size: 1.2rem;
        color: #ffb74d;
    }

/* wwwroot/css/site.css */
.task-notification-badge {
    font-size: 0.6rem;
    padding: 0.25em 0.4em;
    animation: pulse 2s infinite;
    background: linear-gradient(45deg, #ff9800, #ffb74d);
    color: white;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 6px rgba(255, 152, 0, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

/* wwwroot/css/site.css */
.small-icon {
    font-size: 0.6em;
    vertical-align: super;
}

.notification-badge {
    font-size: 0.6rem;
    padding: 0.2em 0.4em;
    background: linear-gradient(45deg, #ef4444, #f87171);
    color: white;
    font-weight: 600;
    border-radius: 10px;
}

/* Стилове за нотификации на задачите */
.nav-icon-container {
    position: relative;
    display: inline-block;
}

.task-notification-icon {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

    .task-notification-icon.text-danger {
        animation-duration: 1s;
        color: #ef4444;
    }

    .task-notification-icon.text-warning {
        animation-duration: 2s;
        color: #f59e0b;
    }

/* Стилове за нотификации на задачите */
.nav-icon-wrapper {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.main-icon {
    font-size: 1.2rem;
    display: block;
}

.task-indicator-icon {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 0.7rem;
    animation: pulse 2s infinite;
    display: block !important;
}

    .task-indicator-icon.text-danger {
        color: #ef4444 !important;
        animation-duration: 1s;
    }

    .task-indicator-icon.text-warning {
        color: #f59e0b !important;
        animation-duration: 2s;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Подравняване на навигацията */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

    .nav-link i {
        font-size: 1.2rem;
    }

    .nav-link span {
        font-size: 0.9rem;
        line-height: 1.2;
    }

/* Подравняване на всички икони и текстове */
.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links .nav-link {
    align-items: center;
    justify-content: center;
}

/* === ДОПЪЛНИТЕЛНИ АНИМАЦИИ === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* === ПРЕГЛЕДНА ВИЗУАЛИЗАЦИЯ === */
tr[style*="background-color: #fffacd;"] {
    background: linear-gradient(to right, #fffacd, #fff8e1) !important;
    border-left: 3px solid #ffb74d;
}

/* === СКРОЛБАР СТИЛИЗАЦИЯ === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* === ХОВЕР ЕФЕКТИ ЗА КАРТИЧКИ === */
.form-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

/* === ГРАДИЕНТНИ ТЕКСТОВЕ === */
.gradient-text {
    background: linear-gradient(45deg, #2c5aa0, #3a6bc0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ТИПОГРАФИЯ === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #2c3e50;
}

/* === ХОВЕР ЕФЕКТИ ЗА КАРТИЧКИ === */
.login-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .login-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    }

/* === БОРДЕРИ === */
.table-container, .form-wrapper, .login-box {
    border: 1px solid #e8edf5;
}

/* === СЕНКИ === */
.navbar, .table thead tr.headers, .table thead tr.filters {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* === ТРАНЗИЦИИ === */
.nav-link, .btn, .filter-input, .form-control, .action-float a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === СТАТИСТИЧЕН БАР НАД ТАБЛИЦАТА === */
.table-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    font-family: "Segoe UI", system-ui, sans-serif;
}

    .table-stats-bar div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        text-align: center;
    }

    .table-stats-bar label {
        font-size: 0.9rem;
        color: #64748b;
        font-weight: 500;
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }

    .table-stats-bar .stat-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: #2c5aa0;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        transition: all 0.3s ease;
    }

        .table-stats-bar .stat-value:hover {
            transform: translateY(-2px);
            text-shadow: 0 2px 4px rgba(44, 90, 160, 0.15);
        }

        .table-stats-bar .stat-value::before {
            content: "📊";
            font-size: 1.2rem;
            margin-right: 0.3rem;
        }

        .table-stats-bar .stat-value.records-count {
            color: #4a6fa5;
        }

        .table-stats-bar .stat-value.financial-result {
            color: #10b981;
            position: relative;
        }

            .table-stats-bar .stat-value.financial-result::before {
                content: "💰";
            }

            .table-stats-bar .stat-value.financial-result::after {
                content: "€";
                font-size: 1rem;
                font-weight: 600;
                color: #059669;
                margin-left: 0.2rem;
                font-family: "Arial", sans-serif;
            }

            .table-stats-bar .stat-value.financial-result.negative {
                color: #ef4444;
            }

                .table-stats-bar .stat-value.financial-result.negative::before {
                    content: "📉";
                }

            .table-stats-bar .stat-value.financial-result.positive {
                color: #10b981;
            }

                .table-stats-bar .stat-value.financial-result.positive::before {
                    content: "📈";
                }

    .table-stats-bar .stat-change-indicator {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
        border-radius: 12px;
        font-weight: 600;
        margin-left: 0.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
    }

        .table-stats-bar .stat-change-indicator.positive {
            background: rgba(16, 185, 129, 0.15);
            color: #059669;
        }

        .table-stats-bar .stat-change-indicator.negative {
            background: rgba(239, 68, 68, 0.15);
            color: #dc2626;
        }

    .table-stats-bar .stat-description {
        font-size: 0.8rem;
        color: #94a3b8;
        font-style: italic;
        margin-top: 0.15rem;
    }

/* АНИМАЦИЯ ПРИ ПРОМЯНА НА СТОЙНОСТИТЕ */
@keyframes valuePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.stat-value.updated {
    animation: valuePulse 0.5s ease;
}

/* РЕСПОНСИВНИ СТИЛОВЕ */
@media (max-width: 768px) {
    .table-stats-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

        .table-stats-bar div {
            width: 100%;
            padding-bottom: 0.75rem;
            border-bottom: 1px dashed #e2e8f0;
        }

            .table-stats-bar div:last-child {
                border-bottom: none;
                padding-bottom: 0;
            }

        .table-stats-bar .stat-value {
            font-size: 1.3rem;
        }
}

@media (max-width: 480px) {
    .table-stats-bar {
        padding: 0.75rem;
    }

        .table-stats-bar .stat-value {
            font-size: 1.2rem;
        }

        .table-stats-bar label {
            font-size: 0.85rem;
        }
}

/* === СТИЛ ЗА ЗЕЛЕН БУТОН "НОВА УСЛУГА" (ПО-МАЛЪК) === */
.new-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

    .new-service-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
        transition: left 0.6s ease;
    }

    .new-service-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
        background: linear-gradient(135deg, #0da271 0%, #047857 100%);
    }

        .new-service-btn:hover::before {
            left: 100%;
        }

    .new-service-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
    }

    .new-service-btn i {
        font-size: 0.95rem;
        transition: transform 0.25s ease;
    }

    .new-service-btn:hover i {
        transform: rotate(90deg) scale(1.05);
    }

/* Анимация за плавно появяване */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-service-btn {
    animation: fadeInUp 0.4s ease-out;
}

/* Responsive стилове */
@media (max-width: 768px) {
    .new-service-btn {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
        gap: 0.35rem;
    }

        .new-service-btn i {
            font-size: 0.9rem;
        }
}

@media (max-width: 480px) {
    .new-service-btn {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
}

/* === FLOATING ФОРМОВИ БУТОНИ (ОРИГИНАЛЕН ВАРИАНТ) === */
.floating-form-actions {
    position: fixed;
    top: 195px;
    right: 7rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .floating-form-actions .floating-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        border: none;
        cursor: pointer;
    }

    .floating-form-actions .floating-btn-primary {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
    }

    .floating-form-actions .floating-btn-secondary {
        background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
        color: white;
    }

    .floating-form-actions .floating-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .floating-form-actions .floating-btn:active {
        transform: translateY(-1px) scale(0.98);
    }

    .floating-form-actions .btn-tooltip {
        position: absolute;
        right: 65px;
        background: rgba(44, 90, 160, 0.95);
        color: white;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        transform: translateX(10px);
        transition: all 0.3s ease;
        pointer-events: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

        .floating-form-actions .btn-tooltip::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -5px;
            transform: translateY(-50%);
            border-left: 5px solid rgba(44, 90, 160, 0.95);
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
        }

    .floating-form-actions .floating-btn:hover .btn-tooltip {
        opacity: 1;
        transform: translateX(0);
    }

/* Responsive стилове */
@media (max-width: 900px) {
    .floating-form-actions {
        position: fixed;
        bottom: 70px;
        right: 1rem;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

        .floating-form-actions .floating-btn {
            width: 50px;
            height: 50px;
            font-size: 1.1rem;
        }

        .floating-form-actions .btn-tooltip {
            display: none;
        }
}

@media (max-width: 480px) {
    .floating-form-actions {
        bottom: 60px;
        right: 0.5rem;
    }

        .floating-form-actions .floating-btn {
            width: 48px;
            height: 48px;
            font-size: 1rem;
        }
}

/* === СТИЛ ЗА PDF БУТОНИ === */
.pdf-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .pdf-buttons-container form {
        margin: 0;
        flex: 1;
        min-width: 200px;
        max-width: 300px;
    }

.pdf-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.2);
    position: relative;
    overflow: hidden;
}

    .pdf-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
        transition: left 0.6s ease;
    }

    .pdf-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    }

        .pdf-btn:hover::before {
            left: 100%;
        }

    .pdf-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
    }

    .pdf-btn i {
        font-size: 1rem;
        transition: transform 0.3s ease;
        filter: brightness(1.2);
    }

    .pdf-btn:hover i {
        transform: scale(1.15);
        filter: brightness(1.5);
    }

    /* Различни цветове за различни типове документи */
    .pdf-btn.client-request {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        box-shadow: 0 3px 8px rgba(59, 130, 246, 0.2);
    }

        .pdf-btn.client-request:hover {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
            box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
        }

    .pdf-btn.carrier-request {
        background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        box-shadow: 0 3px 8px rgba(139, 92, 246, 0.2);
    }

        .pdf-btn.carrier-request:hover {
            background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
            box-shadow: 0 6px 15px rgba(139, 92, 246, 0.3);
        }

    .pdf-btn.cmr {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        box-shadow: 0 3px 8px rgba(16, 185, 129, 0.2);
    }

        .pdf-btn.cmr:hover {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
        }

    .pdf-btn.invoice {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        box-shadow: 0 3px 8px rgba(245, 158, 11, 0.2);
    }

        .pdf-btn.invoice:hover {
            background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
            box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
        }

    .pdf-btn.penalty {
        background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
        box-shadow: 0 3px 8px rgba(99, 102, 241, 0.2);
    }

        .pdf-btn.penalty:hover {
            background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
            box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
        }

    .pdf-btn.additional {
        background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
        box-shadow: 0 3px 8px rgba(20, 184, 166, 0.2);
    }

        .pdf-btn.additional:hover {
            background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
            box-shadow: 0 6px 15px rgba(20, 184, 166, 0.3);
        }

/* Анимация за плавно появяване */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pdf-buttons-container form {
    animation: slideInUp 0.4s ease-out;
    animation-fill-mode: both;
}

    .pdf-buttons-container form:nth-child(1) {
        animation-delay: 0.1s;
    }

    .pdf-buttons-container form:nth-child(2) {
        animation-delay: 0.15s;
    }

    .pdf-buttons-container form:nth-child(3) {
        animation-delay: 0.2s;
    }

    .pdf-buttons-container form:nth-child(4) {
        animation-delay: 0.25s;
    }

    .pdf-buttons-container form:nth-child(5) {
        animation-delay: 0.3s;
    }

    .pdf-buttons-container form:nth-child(6) {
        animation-delay: 0.35s;
    }

/* Responsive стилове */
@media (max-width: 1024px) {
    .pdf-buttons-container form {
        min-width: 180px;
        max-width: 250px;
    }

    .pdf-btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .pdf-buttons-container {
        flex-direction: column;
        gap: 0.5rem;
    }

        .pdf-buttons-container form {
            min-width: 100%;
            max-width: 100%;
        }

    .pdf-btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

        .pdf-btn i {
            font-size: 0.95rem;
        }
}

@media (max-width: 480px) {
    .pdf-buttons-container {
        padding: 0.75rem;
    }

    .pdf-btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }

        .pdf-btn i {
            font-size: 0.9rem;
        }
}
/* === СТИЛ ЗА СКРИТИ ДАННИ В ТАБЛИЦАТА === */
.hidden-data-cell {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    position: relative;
    color: transparent !important;
    text-shadow: 0 0 8px rgba(0,0,0,0.1);
    user-select: none;
}

    .hidden-data-cell::before {
        content: "🔒";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.2rem;
        color: #94a3b8;
        opacity: 0.7;
        z-index: 1;
    }

    .hidden-data-cell::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient( 45deg, transparent, transparent 5px, rgba(148, 163, 184, 0.05) 5px, rgba(148, 163, 184, 0.05) 10px );
        pointer-events: none;
    }

    .hidden-data-cell:hover::before {
        content: "👁️";
        color: #64748b;
        opacity: 0.9;
    }

    .hidden-data-cell:hover {
        background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
    }

    .hidden-data-cell a {
        visibility: hidden;
        pointer-events: none;
    }

/* За да не се виждат данни при ховър на реда */
tr:hover .hidden-data-cell {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
}

/* За да се запази hover ефекта на фиксираната колона */
tr:hover td.fixed-column.hidden-data-cell {
    background: #f5f5f5 !important;
}
