.brand-link {
    text-align: center;
}

tr.even {
    background-color: #f1f1f1;
}

tr.odd {
    background-color: #ffffff;
}

.cell-white {
    background-color: #ffffff;
}

.row-dispensary {
    background-color: #e7f4ff;
}

.row-visit {
    background-color: #fef4e7;
}

.row-bill {
    background-color: #deffe5;
}

.select2-results__option[aria-disabled="true"] {
    color: #6c757d !important;
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
}

.select2-selection__choice[aria-disabled="true"] {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
}

.dispensary-status-closed {
    background-color: #e7fef4;
}
.dispensary-status-open {
    background-color: #ffe7f4;
}
.cell-tooltip {
    cursor: help;
}

.border-bottom-x2 {
    border-bottom: 2px solid black;
}


/* implant-passports */
/* === Загальний контейнер === */
.implant-passports-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* === Карточка винира === */
.implant-passports-list .card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.implant-passports-list .card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* === Заголовок винира === */
.implant-passports-list h6 {
    font-size: 1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* === Підписи і тексти === */
.implant-passports-list strong {
    color: #334155;
}

.implant-passports-list p {
    margin-bottom: 0.4rem;
    line-height: 1.4;
    color: #4b5563;
}

/* === Примітка === */
.implant-passports-list .text-muted {
    color: #64748b !important;
    font-size: 0.9rem;
}

.implant-passport-id {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    background: #f8fafc;
    border-radius: 6px;
    padding: 2px 6px;
    line-height: 1;
}
.implant-passport-id::before {
    content: "ID ";
    color: #cbd5e1;
    font-size: 0.75rem;
}

/* === Контейнер для файлів === */
.implant-passport-files {
    display: flex;
    flex-direction: column;
}

.implant-passport-files strong {
    color: #1e293b;
    margin-bottom: 0.4rem;
}

/* === Галерея файлів === */
.implant-passport-files .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* === Мініатюри (зображення) === */
.implant-passport-thumb {
    display: block;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background-color: #f8fafc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: zoom-in;
}

.implant-passport-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.implant-passport-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(0,0,0,0.12);
    border-color: #3b82f6;
}

/* === Документи (pdf, doc і т.п.) === */
.implant-passport-file {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #334155;
    text-decoration: none;
    transition: background 0.2s ease;
}

.implant-passport-file i {
    color: #64748b;
}

.implant-passport-file:hover {
    background: #e2e8f0;
    text-decoration: none;
}

/* === Мобільна адаптація === */
@media (max-width: 768px) {
    .implant-passport-thumb {
        width: 75px;
        height: 75px;
    }
    .implant-passport-file {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

.hide-link-header-table {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
