body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    background-color: #E1E6EB;
}

:root {
    --bs-primary: #1CADAE;
    --bs-primary-rgb: 28, 173, 174;
    --bs-link-color: #105266;
    --bs-link-hover-color: #0c3e4c;
}

.card {
    --bs-card-cap-padding-y: 1rem;
}

.btn-lg,
.btn-group-lg > .btn {
    font-size: 1rem;
}

.site .bg-gradient-primary {
    background: linear-gradient(135deg, #1CADAE 0%, #105266 100%) !important;
}

.page-privacy .bg-gradient-primary {
    background: linear-gradient(135deg, #1CADAE 0%, #16a085 100%);
}

.top-header {
    background: linear-gradient(135deg, #1CADAE 0%, #105266 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header a {
    color: white;
    text-decoration: none;
}

.top-header a:hover {
    color: #e8ffff;
}

.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #1CADAE !important;
    margin-right: 20px;
}

.navbar-brand i {
    font-size: 20px;
}

.nav-link {
    color: #374151 !important;
    font-weight: 500;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-item {
    color: #374151 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: #1CADAE !important;
    background-color: rgba(28, 173, 174, 0.08);
}

.nav-link:hover {
    color: #1CADAE !important;
    background-color: rgba(28, 173, 174, 0.08);
    border-radius: 6px;
}

.navbar-nav {
    gap: 5px;
}

@media (max-width: 1200px) {
    .navbar-brand {
        font-size: 20px;
        margin-right: 15px;
    }

    .nav-link {
        padding: 6px 10px !important;
        font-size: 13px;
    }

}
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 18px;
        margin-right: 10px;
    }

    .nav-link {
        padding: 8px 15px !important;
        font-size: 14px;
    }

    .navbar-nav {
        gap: 0;
    }

}
.badge-status {
    position: absolute;
    top: 15px;
    right: 15px;
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.category-icon.hormon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.category-icon.mikrobiyoloji {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.category-icon.agirmetal {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.category-icon.ifa {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.category-icon.metabolizma {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.category-icon.elektroforez {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
}

.stat-card {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.site .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.page-doctors-index .stat-number, .page-home .stat-number {
    font-size: 2.5rem;
}

.page-doctors-index .stat-number {
    margin-bottom: 0.5rem;
    color: #2c3e50 !important;
    font-weight: bold;
}

.page-home .stat-number {
    font-weight: 700;
    margin: 0;
}

.site .btn-outline-primary {
    border: 2px solid #1CADAE;
    color: #105266;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
}

.page-doctors-index .btn-outline-primary {
    color: #3498db !important;
}

.site .btn-outline-primary:hover {
    background: #1CADAE;
    border-color: #1CADAE;
    color: #ffffff;
}

.main-header {
    position: relative;
    z-index: 1030;
}

.navbar .dropdown-menu {
    z-index: 2000;
    margin-top: 0;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.2s ease-in-out;
    }

    .navbar .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease-in-out;
        display: block !important;
    }

    .navbar .dropdown-toggle::after {
        margin-left: .25rem;
    }

}
.article-hero .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
}

.article-content .table {
    --bs-table-bg: #fff;
    --bs-table-border-color: #c7c7c7;
}

.nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block;
    margin-top: 0;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
}

.dropdown-menu {
    transition: all 0.3s ease-in-out;
}

.page-articles-category .card, .page-articles-index .card, .page-news-breaking .card, .page-news-featured .card, .page-news-index .card {
    transition: transform 0.2s ease-in-out;
}

.page-articles-category .card:hover, .page-articles-index .card:hover, .page-news-breaking .card:hover, .page-news-featured .card:hover, .page-news-index .card:hover {
    transform: translateY(-5px);
}

.page-articles-category .card-title a:hover, .page-articles-index .card-title a:hover, .page-news-index .card-title a:hover {
    color: var(--bs-primary) !important;
}

.page-news-breaking .card-title a:hover {
    color: var(--bs-danger) !important;
}

.page-news-featured .card-title a:hover {
    color: var(--bs-warning) !important;
}

.page-news-index .btn-group .btn.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.page-news-breaking .btn-group .btn.active {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
    color: white;
}

.page-news-featured .btn-group .btn.active {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
    color: var(--bs-dark);
}

.page-announcements-show .announcement-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.announcement-content h2,
.announcement-content h3,
.announcement-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-announcements-show .announcement-content p {
    margin-bottom: 1.5rem;
}

.announcement-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.announcement-content blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.announcement-content ul,
.announcement-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.announcement-content li {
    margin-bottom: 0.5rem;
}

.badge-sm {
    font-size: 0.7em;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

@media (min-width: 576px) {
    .share-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}
@media (min-width: 768px) {
    .share-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

}
.share-btn {
    align-items: center;
    text-decoration: none;
}

.page-announcements-show .share-btn, .page-news-show .share-btn {
    display: inline-flex;
    justify-content: center;
    gap: .5rem;
    padding: .65rem .75rem;
    border-radius: .75rem;
    font-weight: 600;
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
    width: 100%;
}

.page-articles-show .share-btn, .page-pages-show .share-btn {
    display: flex;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.page-tests-show .share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.page-announcements-show .share-btn:hover, .page-news-show .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.page-tests-show .share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.page-announcements-show .share-btn i, .page-news-show .share-btn i {
    font-size: 1rem;
}

.page-articles-show .share-btn i, .page-pages-show .share-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.page-announcements-show .share-btn span, .page-news-show .share-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-facebook {
    background: #1877F2;
    color: #fff;
}

.share-twitter {
    background: #0f1419;
    color: #fff;
}

.share-linkedin {
    background: #0A66C2;
    color: #fff;
}

.share-whatsapp {
    background: #25D366;
    color: #fff;
}

.page-announcements-show .share-copy, .page-news-show .share-copy {
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.page-announcements-show .share-copy:hover, .page-news-show .share-copy:hover {
    background: #eef1f4;
}

.page-articles-index .pagination .page-link {
    font-family: inherit !important;
    font-size: 0.9rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.375rem !important;
    margin: 0 0.125rem !important;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: 1px solid #e2e8f0;
    color: #1CADAE;
    padding: 10px 15px;
}

.page-articles-index .pagination .page-link::before,
.page-articles-index .pagination .page-link::after {
    content: none !important;
}

.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}

.pagination .page-item.active .page-link {
    background-color: #0C4B64 !important;
    border-color: #0C4B64 !important;
    color: white;
}

.page-articles-index .pagination a.page-link:hover {
    background-color: #1cadae !important;
    border-color: #1cadae !important;
    color: white !important;
}

.pagination a.page-link:hover {
    background-color: #f1f5f9;
    border-color: #1CADAE;
    color: #105266;
}

.article-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
    padding: 40px 20px;
}

.page-articles-show .article-hero, .page-announcements-show .article-hero {
    min-height: 60vh;
}

.page-pages-show .article-hero {
    min-height: 40vh;
}

.page-doctors-index .article-hero, .page-doctors-show .article-hero, .page-branches-index .article-hero, .page-branches-show .article-hero, .page-tests-show .article-hero {
    padding: 60px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.page-articles-show .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.page-home .hero-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.page-pages-show .hero-overlay, .page-doctors-index .hero-overlay, .page-doctors-show .hero-overlay, .page-branches-index .hero-overlay, .page-branches-show .hero-overlay, .page-tests-show .hero-overlay, .page-announcements-show .hero-overlay {
    pointer-events: none;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay-dark {
    background: rgba(0, 0, 0, 0.5);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-articles-show .hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.page-pages-show .hero-gradient, .page-doctors-index .hero-gradient, .page-doctors-show .hero-gradient, .page-branches-index .hero-gradient, .page-branches-show .hero-gradient, .page-tests-show .hero-gradient, .page-announcements-show .hero-gradient {
    background: linear-gradient(135deg, #1cadae, #0d8c8d);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-weight: 700;
}

.page-articles-show .hero-title, .page-pages-show .hero-title, .page-doctors-index .hero-title, .page-doctors-show .hero-title, .page-branches-index .hero-title, .page-branches-show .hero-title, .page-tests-show .hero-title, .page-announcements-show .hero-title {
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-excerpt {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    font-size: 1rem;
}

.meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.breadcrumb-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-hero .breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-hero .breadcrumb-item.active {
    color: white;
}

.badge-featured {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.article-main {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.author-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 15px 15px 0 0;
    border-bottom: 3px solid #1CADAE;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1CADAE, #105266);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.article-content-wrapper {
    padding: 30px;
}

.page-articles-show .article-content, .page-pages-show .article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 0;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.article-content h2 {
    font-size: 2rem;
    border-bottom: 3px solid #1CADAE;
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #105266;
}

.page-articles-show .article-content p, .page-pages-show .article-content p {
    margin: 0;
    padding-bottom: 1.5rem;
    text-align: justify;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 5px solid #1CADAE;
    padding: 20px;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #495057;
    position: relative;
}

.article-content blockquote::before {
    content: "\"";
    font-size: 4rem;
    color: #1CADAE;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.article-content strong {
    color: #105266;
    font-weight: 600;
}

.page-articles-show .article-footer, .page-pages-show .article-footer {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 0 0 15px 15px;
}

.page-articles-show .section-title, .page-pages-show .section-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.page-home .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.page-privacy .section-title {
    color: #1CADAE;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-badge {
    background: linear-gradient(135deg, #1CADAE, #105266);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 173, 174, 0.3);
}

.share-buttons {
    display: flex;
}

.page-articles-show .share-buttons, .page-pages-show .share-buttons {
    flex-wrap: wrap;
    gap: 10px;
}

.page-tests-show .share-buttons {
    gap: 12px;
    justify-content: center;
}

.share-btn.facebook {
    background: #1877f2;
}

.page-articles-show .share-btn.facebook, .page-pages-show .share-btn.facebook {
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
}

.page-articles-show .share-btn.twitter, .page-pages-show .share-btn.twitter {
    color: white;
}

.page-articles-show .share-btn.linkedin, .page-pages-show .share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
}

.page-articles-show .share-btn.whatsapp, .page-pages-show .share-btn.whatsapp {
    color: white;
}

.page-articles-show .share-btn.copy-link, .page-pages-show .share-btn.copy-link {
    background: #6c757d;
    color: white;
}

.page-articles-show .share-btn:hover, .page-pages-show .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.sidebar-sticky {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sidebar-card .card-header {
    background: linear-gradient(135deg, #1CADAE, #105266);
    color: white;
    padding: 15px 20px;
    border: none;
}

.sidebar-card .card-body {
    padding: 20px;
}

.contact-card .card-body {
    padding: 15px;
}

.page-articles-show .contact-item, .page-pages-show .contact-item {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.page-doctors-show .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.page-articles-show .contact-item:hover, .page-pages-show .contact-item:hover {
    background: #f8f9fa;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    color: #333;
    border-radius: 10px;
}

.contact-link i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contact-link div strong {
    display: block;
    font-weight: 600;
    color: #2c3e50;
}

.contact-link div span {
    font-size: 0.9rem;
    color: #6c757d;
}

.related-article {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 10px;
}

.related-article:hover {
    background: #f8f9fa;
}

.related-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-image-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.2rem;
}

.related-title a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-title a:hover {
    color: #1CADAE;
}

.related-meta {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    gap: 15px;
}

.related-meta i {
    margin-right: 4px;
}

.popular-placeholder {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.popular-placeholder i {
    color: #dee2e6;
    margin-bottom: 15px;
}

.popular-placeholder h6 {
    color: #495057;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .page-articles-show .hero-title, .page-pages-show .hero-title, .page-tests-show .hero-title, .page-doctors-index .hero-title, .page-doctors-show .hero-title, .page-branches-index .hero-title, .page-branches-show .hero-title, .page-announcements-show .hero-title {
        font-size: 2rem;
    }

    .hero-excerpt {
        font-size: 1.1rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 10px !important;
    }

    .article-content-wrapper {
        padding: 20px;
    }

    .page-articles-show .article-footer, .page-pages-show .article-footer {
        padding: 20px;
    }

    .page-articles-show .share-buttons, .page-pages-show .share-buttons {
        justify-content: center;
    }

    .page-articles-show .share-btn, .page-pages-show .share-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

}
.branch-card {
    background: white;
    padding: 2rem;
}

.page-branches-index .branch-card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.page-home .branch-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.page-branches-index .branch-card:hover, .page-home .branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.page-branches-index .branch-header {
    display: flex;
    margin-bottom: 1.5rem;
}

.page-branches-index .branch-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1CADAE 0%, #105266 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.page-branches-index .branch-icon i {
    font-size: 1.5rem;
    color: white;
}

.branch-name {
    font-weight: 600;
}

.page-branches-index .branch-name {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.page-home .branch-name {
    font-size: 1.25rem;
    color: #333;
}

.page-branches-index .branch-city {
    font-size: 0.95rem;
}

.page-branches-index .branch-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
}

.page-branches-index .detail-item {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.page-tests-index .detail-item {
    margin-bottom: 8px;
    font-size: 13px;
    color: #4b5563;
}

.page-branches-index .detail-item i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.page-tests-index .detail-item i {
    width: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.detail-item a {
    color: #495057;
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: #1CADAE;
}

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

.branch-actions .btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.contact-cta {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .branch-actions {
        flex-direction: column;
    }

    .branch-actions .btn {
        width: 100%;
    }

}
.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: none;
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.info-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.info-header h4 {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

.page-branches-show .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.page-tests-show .info-item {
    margin-bottom: 20px;
}

.page-branches-show .info-item:last-child, .page-tests-show .info-item:last-child {
    margin-bottom: 0;
}

.page-branches-show .info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.info-item i {
    width: 20px;
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.info-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.info-item a {
    color: #495057;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #1CADAE;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.page-branches-show .doctor-card, .page-doctors-index .doctor-card {
    background: white;
    transition: all 0.3s ease;
}

.page-branches-show .doctor-card {
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.page-doctors-index .doctor-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.page-branches-show .doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.page-doctors-index .doctor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #e3f2fd;
}

.page-home .doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-branches-show .avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1CADAE 0%, #105266 100%);
    border-radius: 50%;
    margin: 0 auto;
}

.page-doctors-index .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
}

.page-branches-show .avatar-placeholder i {
    font-size: 2rem;
    color: white;
}

.doctor-name {
    font-weight: 600;
}

.page-branches-show .doctor-name {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-doctors-index .doctor-name {
    margin-bottom: 0.3rem;
    font-size: 1rem;
    line-height: 1.3;
    color: #2c3e50 !important;
}

.page-home .doctor-name {
    line-height: 1.3;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-branches-show .doctor-specialty {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.page-doctors-index .doctor-specialty {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #3498db !important;
    font-weight: 500;
}

.page-home .doctor-specialty {
    color: #6c757d;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-branches-show .doctor-experience {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.action-buttons .btn {
    margin: 0.25rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .action-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .map-container iframe {
        height: 300px;
    }

}
.doctor-photo {
    height: 420px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-photo img {
    transform: scale(1.02);
}

.doctor-info {
    padding: 1.2rem;
}

.page-doctors-index .doctor-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doctor-actions {
    margin-top: auto;
}

.doctor-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.stat-item {
    padding: 1rem;
}

.page-doctors-index .stat-label {
    font-weight: 500;
    color: #7f8c8d !important;
}

.doctors-filters {
    border-bottom: 1px solid #dee2e6;
}

.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4,
.page-title h5,
.page-title h6 {
    color: #2c3e50 !important;
}

.page-title p {
    color: #7f8c8d !important;
}

.page-doctors-index .doctor-info p,
.page-doctors-index .doctor-info div,
.page-doctors-index .doctor-info span {
    color: #2c3e50 !important;
}

.page-doctors-show .doctor-info p,
.page-doctors-show .doctor-info div,
.page-doctors-show .doctor-info span {
    color: #34495e !important;
}

.page-doctors-index .form-control,
.page-doctors-index .form-select {
    color: #2c3e50 !important;
}

.page-doctors-index .form-label {
    color: #2c3e50 !important;
}

.page-doctors-index .btn-primary {
    color: #fff !important;
}

.doctors-stats h3,
.doctors-stats h4,
.doctors-stats h5 {
    color: #2c3e50 !important;
}

.doctors-stats p {
    color: #7f8c8d !important;
}

.doctor-photo-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.doctor-photo-large {
    height: 520px;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
}

.doctor-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.avatar-placeholder-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-contact-info {
    padding: 1.5rem;
}

.page-doctors-show .contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.page-doctors-show .contact-item i {
    width: 20px;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.page-doctors-show .contact-item div {
    flex: 1;
}

.page-doctors-show .contact-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: #7f8c8d;
}

.page-doctors-show .contact-item a {
    color: #3498db;
    text-decoration: none;
}

.page-doctors-show .contact-item a:hover {
    color: #2980b9;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.doctor-info-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    padding: 0;
}

.nav-tabs .nav-link {
    border: none;
    color: #7f8c8d;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

.tab-content-inner {
    padding: 1.5rem;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h5 {
    color: #2c3e50 !important;
    margin-bottom: 15px;
}

.education-item,
.experience-item,
.certificate-item,
.publication-item,
.award-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.certificate-item {
    border-left: 3px solid #ffc107;
}

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

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

.working-hours-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.working-hours-item:last-child {
    border-bottom: none;
}

.working-hours-item strong {
    color: #2c3e50;
    min-width: 100px;
    display: inline-block;
}

.page-doctors-show .working-hours-item span {
    color: #7f8c8d;
}

.related-doctor-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-doctor-card:hover {
    transform: translateY(-3px);
}

.related-doctor-photo {
    height: 150px;
    overflow: hidden;
}

.related-doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-doctor-info {
    padding: 1rem;
    text-align: center;
}

.related-doctor-info h6 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-doctors-show .doctor-info h1,
.page-doctors-show .doctor-info h2,
.page-doctors-show .doctor-info h3,
.page-doctors-show .doctor-info h4,
.page-doctors-show .doctor-info h5,
.page-doctors-show .doctor-info h6 {
    color: #2c3e50 !important;
}

.page-doctors-show .info-section p,
.page-doctors-show .education-item p,
.page-doctors-show .experience-item p {
    color: #2c3e50 !important;
    font-size: 14px;
    line-height: 1.6;
}

.page-doctors-show .badge {
    color: #fff !important;
}

.page-doctors-show .text-muted {
    color: #7f8c8d !important;
}

.page-doctors-show .tab-content p,
.page-doctors-show .tab-content div,
.page-doctors-show .tab-content span {
    color: #2c3e50 !important;
}

.hero-slider .carousel-item {
    height: 70vh;
    min-height: 500px;
}

@media (max-width: 992px) {
    .page-home .doctor-card {
        min-height: 0;
    }

}
.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 400px;
    }

    .page-home .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

}
.page-home .hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
}

.min-vh-75 {
    min-height: 75vh;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.page-home .doctor-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.doctor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    background: #f0f2f4;
    margin: 0 auto 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
}

.doctor-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
}

.page-home .doctor-card .btn {
    margin-top: auto !important;
}

.page-home .branch-card .btn {
    margin-top: auto !important;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.announcement-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
}

.announcement-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.announcement-list .announcement-card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.announcement-list .announcement-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.announcement-list .announcement-excerpt {
    flex-grow: 1;
}

.announcement-list .d-flex.mt-auto {
    margin-top: auto !important;
}

.announcement-list .announcement-card.border-primary {
    border-color: #0d6efd !important;
}

.announcement-list .announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.2);
}

.announcement-list .announcement-image {
    height: 200px;
    overflow: hidden;
}

.announcement-list .announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.announcement-title {
    color: #333;
    font-weight: 600;
    font-size: 1.25rem;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
}

@keyframes pulse{
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.page-news-breaking .badge.bg-danger {
    animation: pulse 2s infinite;
}

.page-news-featured .badge.bg-warning {
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.page-news-featured .card.border-warning {
    box-shadow: 0 0.125rem 0.25rem rgba(255, 193, 7, 0.15) !important;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.alert-danger a {
    color: white !important;
}

.alert-danger a:hover {
    color: #f8f9fa !important;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.news-content blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.news-content ul,
.news-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.news-content li {
    margin-bottom: 0.5rem;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1CADAE;
    font-weight: bold;
}

.info-box {
    border-left: 4px solid #1CADAE;
}

.contact-info h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.test-group-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.test-group-accordion .accordion-button {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    color: #1e293b;
    border-radius: 0;
}

.test-group-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #1CADAE 0%, #105266 100%);
    color: white;
    box-shadow: none;
}

.test-group-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(28, 173, 174, 0.25);
}

.test-group-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.test-group-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.test-group-accordion .accordion-body {
    background: #ffffff;
    padding: 25px;
    border-top: 1px solid #e2e8f0;
}

.test-group-accordion .accordion-button:not(.collapsed) i {
    color: #fff !important;
}

.test-card {
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: white;
}

.test-header {
    margin-bottom: 15px;
}

.test-codes .badge {
    font-size: 11px;
}

.test-name {
    color: #105266;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.test-details {
    margin: 15px 0;
}

.test-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.page-tests-index .alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
}

.test-detail-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.gradient-header {
    background: linear-gradient(135deg, #1CADAE 0%, #105266 100%);
    border: none;
    padding: 25px 30px;
    color: white;
}

.modal-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.test-detail-content {
    padding: 30px;
    background: #f8fafc;
}

.gradient-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: none;
    padding: 20px 30px;
    color: white;
}

.detail-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #1CADAE;
}

.detail-section h6 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.detail-section h6 i {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #1CADAE, #105266);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: #475569;
    min-width: 140px;
    font-size: 14px;
}

.detail-value {
    color: #1e293b;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.detail-badge {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.detail-badge.primary {
    background: linear-gradient(135deg, #1CADAE, #105266);
    color: white;
    border-color: #1CADAE;
}

.detail-badge.success {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    border-color: #86efac;
}

.detail-badge.warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #fbbf24;
}

@media (max-width: 768px) {
    .modal-dialog.modal-xl {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .test-detail-content {
        padding: 20px;
    }

    .detail-section {
        padding: 20px;
    }

    .gradient-header,
    .gradient-footer {
        padding: 20px;
    }

    .detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .detail-label {
        min-width: auto;
        margin-bottom: 5px;
    }

}
.page-tests-show .test-codes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-code {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.test-code.primary {
    background: linear-gradient(135deg, #1CADAE, #105266);
    color: white;
}

.test-code.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.detail-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.detail-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.detail-card-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
}

.detail-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1CADAE, #105266);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.detail-card-body {
    padding: 30px;
}

.info-item label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-value {
    color: #1e293b;
    font-size: 15px;
    line-height: 1.5;
}

.info-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #1CADAE;
}

.info-badge {
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.info-badge.primary {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.info-badge.success {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    border: 1px solid #86efac;
}

.info-badge.warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.page-tests-show .contact-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 20px;
    color: white;
    overflow: hidden;
}

.contact-card-header {
    padding: 25px 30px 0;
}

.contact-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-card-body {
    padding: 20px 30px 30px;
}

.contact-text {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-size: 14px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-btn.primary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.contact-btn.primary:hover {
    background: white;
    color: #2563eb;
}

.contact-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.contact-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
}

.related-tests-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.related-tests-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.related-tests-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.related-tests-body {
    padding: 20px 30px;
}

.related-test-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.related-test-item:last-child {
    border-bottom: none;
}

.related-test-link {
    text-decoration: none;
    display: block;
}

.related-test-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.related-test-code {
    color: #64748b;
    font-size: 12px;
}

.related-test-link:hover .related-test-name {
    color: #1CADAE;
}

.share-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.share-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.share-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.share-card-body {
    padding: 25px 30px;
}

.share-btn.email {
    background: #6b7280;
}

@media (max-width: 768px) {
    .page-tests-show .test-codes {
        margin-top: 20px;
        flex-direction: row;
        justify-content: center;
    }

    .detail-card-header,
    .detail-card-body {
        padding: 20px;
    }

    .contact-card-header,
    .contact-card-body {
        padding: 20px;
    }

    .related-tests-header,
    .related-tests-body {
        padding: 20px;
    }

    .share-card-header,
    .share-card-body {
        padding: 20px;
    }

}
.h-200px { height: 200px !important; }
.h-220px { height: 220px !important; }
.h-250px { height: 250px !important; }
.h-30px { height: 30px !important; }
.h-40px { height: 40px !important; }
.h-50px { height: 50px !important; }
.h-60px { height: 60px !important; }
.h-80vh { height: 80vh !important; }
.is-hidden { display: none; }
.maxh-200px { max-height: 200px !important; }
.w-40px { width: 40px !important; }
.w-60px { width: 60px !important; }
.z-1000 { z-index: 1000 !important; }

.btn-primary {
    background: #0C4B64;
    border-color: #0C4B64;
}

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

.btn-check:checked+.btn,
:not(.btn-check)+.btn:active,
.btn:first-child:active,
.btn.active, .btn.show {
    background: #1cadae;
    border-color: #1cadae;
}

footer {
    color: #d1d1d1;
}

footer a {
    color: #d1d1d1;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.captcha-image {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #fff;
}

.captcha-input {
    max-width: 140px;
    text-transform: lowercase;
    letter-spacing: 0.2em;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.footer-logo {
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 15px;
    padding: 13px;
    display: inline-block;
    border-top-left-radius: 0;
}

footer ul > li {
    margin-bottom: 10px;
}

footer ul > li:last-child {
    margin-bottom: 0;
}