* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        
    }

    body {
        background-color: #f8f9fa;
        color: #333;
        line-height: 1.6;
		font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    header {
        text-align: center;
        margin-bottom: 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
		justify-content: center;
    }

    header h1.logo-text {
        color: #2c3e50;
        font-size: 2.7rem;
		font-weight: 600;
		font-family: 'Roboto Slab', Georgia, serif;
        margin-left: 10px;
        display: block !important;
		position: relative;
		padding-bottom: 5px;
		letter-spacing: -1px;
    }
	
	.logo-accent {
       color: #3498db; /* MED kısmını mavi yapar */
    }

    header h1.logo-text::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0; /* Başlangıçta gizli */
        height: 3px;
        background-color: #3498db; /* Mavi renk */
        transition: width 0.3s ease-out; /* Pürüzsüz geçiş */
    }

/* Hover (Fare Üzerine Geldiğinde) veya Tıklanabilir Durumda Genişletme */
    header h1.logo-text:hover::after,
    header h1.logo-text.active::after {
         width: 100%; /* Çizgiyi tam genişliğe getir */
    }

    .logo-image {
        width: 100%;
        /* Kendi ambleminizin boyutuna göre ayarlayın */
        max-width: 65px;
        /* Amblemin maksimum genişliği (örneğin 250px) */
        height: auto;
        margin-bottom: 0;
        /* Arama kutusundan ayırmak için */
        margin-right: 0;
        margin-left: 0;
    }
	
	
	header h1.logo-text, .logo-image {
       cursor: pointer;
    }

    .search-container {
        position: relative;
        margin-bottom: 40px;
    }

    .search-input {
        width: 100%;
        padding: 18px 25px;
        font-size: 1.1rem;
        border: 2px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .search-input:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
    }

    .search-button {
        position: absolute;
        right: 11px;
        top: 31%;
        transform: translateY(-50%);
        background: #3498db;
        border: none;
        color: white;
        padding: 9px 12px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.8rem;
    }

    .search-button:hover {
        background: #2980b9;
        transform: translateY(-50%) scale(1.05);
    }

    .autocomplete-items {
        position: absolute;
        border: 2px solid #ddd;
        border-top: none;
        z-index: 99;
        top: 100%;
        left: 0;
        right: 0;
        border-radius: 0 0 10px 10px;
        max-height: 250px;
        overflow-y: auto;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        display: none;
    }

    .autocomplete-items div {
        padding: 12px 20px;
        cursor: pointer;
        transition: all 0.2s ease;
        border-bottom: 2px solid #f1f1f1;
        font-size: 1.1rem;
    }

    .autocomplete-items div:hover {
        background-color: #f1f1f1;
    }

    .autocomplete-items div:last-child {
        border-bottom: none;
    }

    .keyboard-hint {
        margin-top: 12px;
        text-align: center;
        color: #6c757d;
        font-size: 0.9rem;
    }

    .keyboard-hint small {
        opacity: 0.8;
    }

    .drug-container {
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        margin-bottom: 30px;
        padding: 25px;
        display: none;
        transition: all 0.3s ease;
    }

    .drug-container.highlighted {
        border: 3px solid #3498db !important;
        box-shadow: 0 6px 25px rgba(52, 152, 219, 0.35);
        transform: translateY(-3px);
    }

    .drug-container h2 {
        color: #2c3e50;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #eee;
        font-size: 1.8rem;
    }

    .accordion {
        margin-bottom: 20px;
        border: 2px solid #eee;
        border-radius: 10px;
        overflow: hidden;
    }

    .accordion-header {
        padding: 18px 20px;
        background-color: #f8f9fa;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
    }

    .accordion-header:hover {
        background-color: #e9ecef;
    }

    .accordion-header h3 {
        margin: 0;
        font-size: 1.3rem;
        color: #2c3e50;
        display: flex;
        align-items: center;
    }

    .accordion-header h3 i {
        margin-right: 12px;
        color: #3498db;
        font-size: 1.2rem;
    }

    .accordion-header .icon {
        transition: transform 0.3s ease;
        font-size: 1.2rem;
    }

    .accordion-header.active .icon {
        transform: rotate(180deg);
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .accordion-content.active {
        max-height: 700px !important;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .accordion-content.active::-webkit-scrollbar {
        width: 10px;
    }

    .accordion-content.active::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 5px;
    }

    .accordion-content.active::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 5px;
    }

    .accordion-content.active::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    .accordion-inner {
        padding: 35px 40px;
    }

    .piyasa-isimleri .accordion-inner {
        margin-left: 25px;
    }

    /* Piyasa isimleri listesindeki noktaları kaldırır */
    .piyasa-isimleri .accordion-inner ul {
        list-style-type: none;
        padding-left: 0;
    }


    .piyasa-isimleri .accordion-content.active {
        max-height: 525px !important;
    }

    .section ul {
        list-style-type: none;
    }

    .section li {
        padding: 18px 0;
        border-bottom: 2px solid #f1f1f1;
        font-size: 1.2rem;
    }

    .section li:last-child {
        border-bottom: none;
    }

    .sub-accordion {
        margin-bottom: 20px;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .sub-accordion:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .sub-accordion-header {
        padding: 18px 22px;
        background-color: #f8f9fa;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .sub-accordion-header:hover {
        background-color: #e9ecef;
    }

    .sub-accordion-header h4 {
        margin: 0;
        font-size: 1.1rem;
        color: #2c3e50;
    }

    .sub-accordion-header .icon {
        transition: transform 0.3s ease;
        font-size: 1rem;
    }

    .sub-accordion-header.active .icon {
        transform: rotate(180deg);
    }

    .sub-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .sub-accordion-content.active {
        max-height: 900px !important;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .sub-accordion-content.active::-webkit-scrollbar {
        width: 12px;
    }

    .sub-accordion-content.active::-webkit-scrollbar-track {
        background: #f1f3f5;
        border-radius: 6px;
    }

    .sub-accordion-content.active::-webkit-scrollbar-thumb {
        background: #cbd5e0;
        border-radius: 6px;
        border: 2px solid #f1f3f5;
    }

    .sub-accordion-content.active::-webkit-scrollbar-thumb:hover {
        background: #a0aec0;
    }

    .sub-accordion-inner {
        padding: 40px 45px;
        background-color: white;
        min-height: 100px;
    }

    .sub-accordion-inner p {
        color: #555;
        margin: 0 0 15px 0;
        font-size: 1.1rem;
        line-height: 1.8;
        padding: 0;
    }

    footer {
        margin-top: auto;
        text-align: center;
        padding: 25px 0;
        color: #7f8c8d;
        font-size: 1rem;
    }

    /* === YENİ EKLENEN DOZ STİLLERİ === */

    .sub-accordion-inner h5.dose-condition-title {
        font-size: 1.4rem;
        color: #2c3e50;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        font-weight: 600;
    }

    .sub-accordion-inner h6.dose-type-title {
        font-size: 1.2rem;
        color: #3498db;
        margin-top: 25px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .sub-accordion-inner ul.dose-details-list {
        list-style-type: none;
        padding-left: 0;
        margin-bottom: 20px;
    }

    .sub-accordion-inner ul.dose-details-list>li {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 15px;
        font-size: 1.2rem;
        border-bottom: none;
    }

    .sub-accordion-inner ul.dose-details-list ul {
        list-style-type: none;
        padding-left: 10px;
        margin-top: 10px;
    }

    .sub-accordion-inner ul.dose-details-list ul li {
        font-size: 1.1rem;
        color: #333;
        line-height: 1.9;
        padding: 4px 0;
        border-bottom: none;
    }

    .sub-accordion-inner ul.dose-details-list ul li strong {
        color: #555;
        min-width: 90px;
        display: inline-block;
    }

    .sub-accordion-inner ul.simple-list>li {
        background-color: transparent;
        border: none;
        padding: 8px 5px;
        font-size: 1.1rem;
        line-height: 1.8;
        border-bottom: 1px dashed #f1f1f1;
        margin-bottom: 0;
    }

    .sub-accordion-inner ul.simple-list>li:last-child {
        border-bottom: none;
    }

    /* === /YENİ STİLLER SONU === */

    /* === RENKLİ ALT AKORDİYON BAŞLIKLARI (EN DOĞRU KONUM) === */

    /* Yetişkin: Turuncu */
    .sub-accordion-header.dose-yetiskin {
        background-color: #ff9800;
        /* Turuncu arka plan */
        border: 1px solid #e68a00;
    }

    .sub-accordion-header.dose-yetiskin h4 {
        color: white;
        /* Başlık metni beyaz olsun */
    }

    .sub-accordion-header.dose-yetiskin .icon {
        color: white;
    }

    /* Hover rengini hafif koyu turuncu yapalım */
    .sub-accordion-header.dose-yetiskin:hover {
        background-color: #e68a00;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(255, 152, 0, 0.3);
    }


    /* Pediatrik: Pembe */
    .sub-accordion-header.dose-cocuk {
        background-color: #e91e63;
        /* Pembe arka plan */
        border: 1px solid #c2185b;
    }

    .sub-accordion-header.dose-cocuk h4 {
        color: white;
    }

    .sub-accordion-header.dose-cocuk .icon {
        color: white;
    }

    /* Hover rengini hafif koyu pembe yapalım */
    .sub-accordion-header.dose-cocuk:hover {
        background-color: #c2185b;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(233, 30, 99, 0.3);
    }


    /* Geriatrik: Koyu Gri */
    .sub-accordion-header.dose-yasli {
        background-color: #4a4a4a;
        /* Koyu Gri arka plan */
        border: 1px solid #333333;
    }

    .sub-accordion-header.dose-yasli h4 {
        color: white;
    }

    .sub-accordion-header.dose-yasli .icon {
        color: white;
    }

    /* Hover rengini hafif daha koyu gri yapalım */
    .sub-accordion-header.dose-yasli:hover {
        background-color: #333333;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(74, 74, 74, 0.3);
    }
	

    /* === /RENKLİ ALT AKORDİYON BAŞLIKLARI SONU === */

    @media (max-width: 600px) {
       header h1.logo-text {
           font-size: 2.2rem;
           letter-spacing: 0px;
        }
	}	
	
	
	@media (max-width: 1100px) {
        .container {
            max-width: 900px;
            padding: 25px;
        }
    }

    @media (max-width: 1000px) {
        .container {
            max-width: 800px;
            padding: 20px;
        }
    }

    @media (max-width: 600px) {
        .container {
            padding: 10px;
            max-width: 100%;
        }

        header h1.logo-text {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .logo-image {
            max-width: 50px;
            margin-bottom: 10px;
        }

        .search-input {
            padding: 12px 18px;
            font-size: 0.95rem;
        }

        .search-button {
            padding: 7px 10px;
            font-size: 0.75rem;
            right: 8px;
        }

        .drug-container {
            padding: 15px;
            margin-bottom: 20px;
        }

        .drug-container h2 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
        }

        .accordion-header {
            padding: 12px 15px;
        }

        .accordion-header h3 {
            font-size: 1rem;
        }

        .accordion-header h3 i {
            font-size: 1rem;
            margin-right: 8px;
        }

        .accordion-content.active {
            max-height: 600px !important;
            overflow-y: auto;
            scrollbar-width: thin;
        }

        .piyasa-isimleri .accordion-content.active {
            max-height: 350px !important;
        }

        .accordion-inner {
            padding: 18px 20px;
        }

        .piyasa-isimleri .accordion-inner {
            margin-left: 10px;
            padding: 15px 18px;
        }

        .section li {
            font-size: 0.95rem;
            padding: 12px 0;
        }

        .sub-accordion {
            margin-bottom: 12px;
        }

        .sub-accordion-content.active {
            max-height: 600px !important;
        }

        .sub-accordion-inner {
            padding: 18px 20px;
            min-height: 80px;
        }

        .sub-accordion-inner p {
            font-size: 0.95rem;
            line-height: 1.7;
            padding: 0;
            margin: 0 0 12px 0;
        }

        .sub-accordion-header {
            padding: 10px 12px;
        }

        .sub-accordion-header h4 {
            font-size: 0.95rem;
        }

        .sub-accordion-inner h5.dose-condition-title {
            font-size: 1.1rem;
            margin-bottom: 12px;
            padding-bottom: 8px;
        }

        .sub-accordion-inner h6.dose-type-title {
            font-size: 1rem;
            margin-top: 15px;
            margin-bottom: 10px;
        }

        .sub-accordion-inner ul.dose-details-list>li {
            padding: 12px;
            font-size: 0.95rem;
            margin-bottom: 10px;
        }

        .sub-accordion-inner ul.dose-details-list ul li {
            font-size: 0.9rem;
            padding: 3px 0;
        }

        .sub-accordion-inner ul.simple-list>li {
            font-size: 0.9rem;
            padding: 5px 0;
        }

        /* Modal mobil görünümü */
        .modal-content {
            padding: 20px;
            width: 95%;
        }

        .modal-close {
            top: 10px;
            right: 15px;
            font-size: 1.5rem;
        }

        #modalTitle {
            font-size: 1.2rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
        }

        .result-item {
            padding: 15px;
            margin-bottom: 12px;
        }

        .result-drug-name {
            font-size: 1.1rem;
            margin-bottom: 4px;
        }

        .result-section {
            font-size: 0.85rem;
            margin-bottom: 10px;
        }

        .result-snippet {
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .result-snippet h5.dose-condition-title {
            font-size: 1.05rem;
            margin: 12px 0 8px 0;
            padding-bottom: 6px;
        }

        .result-snippet h6.dose-type-title {
            font-size: 0.95rem;
            margin: 10px 0 6px 0;
        }

        .result-snippet ul.dose-details-list > li {
            padding: 10px 12px;
            margin-bottom: 6px;
            font-size: 0.9rem;
        }

        .result-snippet ul.dose-details-list ul li {
            font-size: 0.85rem;
        }

        /* Search highlight mobil */
        .search-highlight {
            padding: 1px 3px !important;
            font-size: inherit !important;
            box-shadow: 0 0 0 1.5px #ffc107;
        }

        @keyframes highlightPulse {
            0%, 100% {
                box-shadow: 0 0 0 1.5px #ffc107;
            }
            50% {
                box-shadow: 0 0 0 3px #ffc107;
            }
        }
		/* === MOBİL CİHAZ DÜZELTMELERİ === */

        header {
            flex-direction: column;
            margin-bottom: 20px;
        }

        .logo-image {
            margin-left: 0;
            margin-right: 0;
            margin-bottom: 8px;
            max-width: 50px;
        }

        header h1.logo-text {
            margin-left: 0;
            margin-right: 0;
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .search-container {
            display: block;
            width: 100%;
            margin-bottom: 20px;
        }

        .keyboard-hint {
            font-size: 0.8rem;
            margin-top: 8px;
        }

        .keyboard-hint small {
            font-size: 0.75rem;
        }

        /* Nav link mobil */
        .nav-link {
            font-size: 0.9rem;
        }

        /* Footer mobil */
        footer {
            padding: 15px 0;
            font-size: 0.85rem;
        }

        footer p {
            font-size: 0.85rem;
            margin-bottom: 8px;
        }

        footer small {
            font-size: 0.75rem;
        }

        /* Autocomplete mobil */
        .autocomplete-items {
            max-height: 200px;
        }

        .autocomplete-items div {
            padding: 10px 15px;
            font-size: 0.95rem;
        }

/* === /MOBİL CİHAZ DÜZELTMELERİ SONU === */
		
		
    }
	
	/* === ALFABETİK BUTON VE POPUP STİLLERİ === */
.alphabet-button {
    position: absolute;
    left: 30px;
    top: 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alphabet-button:hover {
    background-color: #2980b9;
    transform: scale(1.03);
}

/* Popup arka plan */
.alphabet-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* Popup kutusu */
.alphabet-popup {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    animation: popupFade 0.3s ease;
}

@keyframes popupFade {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}

.alphabet-popup h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

.alphabet-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.alphabet-list button {
    padding: 8px 12px;
    border: none;
    background-color: #ecf0f1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.alphabet-list button:hover {
    background-color: #3498db;
    color: white;
}

.alphabet-drug-list {
    list-style: none;
    padding-left: 0;
}

.alphabet-drug-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: all 0.2s;
}

.alphabet-drug-list li:hover {
    color: #3498db;
}

/* === HAKKINDA • KAYNAKÇA BUTONU === */
.top-nav {
    position: absolute;
    right: 40px;
    top: 35px;
}

.nav-link {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.nav-link:hover {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

/* Mobil uyumluluk */
@media (max-width: 600px) {
    .alphabet-button {
        position: static; /* Mutlak konumlandırmayı kaldırır, akışa dahil eder */
        margin-top: 20px; /* Başlık ile arasına boşluk koyar */
    }
    
    .top-nav {
        position: static;
        margin-top: 10px;
        text-align: center;
    }
}

/* === HAKKINDA SAYFASI === */
.about-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #2c3e50;
}

.about-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #3498db;
    text-align: center;
}

.about-container h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: #2c3e50;
}

.about-container p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.source-list {
    list-style: none;
    padding-left: 0;
}

.source-list li {
    background: #f8f9fa;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.back-home {
    display: inline-block;
    margin-bottom: 25px;
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
    transition: 0.3s;
}

.back-home:hover {
    color: #2980b9;
    text-decoration: underline;
}

.about-footer {
    text-align: center;
    margin-top: 40px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* === SAĞ ÜST İÇERİK ARAMA KUTUSU === */
.content-search-container {
    display: inline-block;
    position: relative;
    margin-right: 20px;
    vertical-align: middle;
}

.content-search-container input {
    padding: 8px 35px 8px 15px;
    border-radius: 20px;
    border: 2px solid #ddd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 200px; /* Başlangıç genişliği */
}

.content-search-container input:focus {
    width: 250px; /* Focus olunca genişlesin */
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

.content-search-container button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
}

.content-search-container button:hover {
    color: #3498db;
}

/* === MODAL (POPUP) STİLLERİ === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: popupFade 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-close:hover {
    color: #333;
}

#modalTitle {
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

#modalResultsList {
    list-style-type: none;
    padding-left: 0;
}

/* Sonuç stillerini (daha önce eklemiştik) buraya da uyarlıyoruz */
.result-item {
    padding: 20px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}
.result-drug-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 5px;
}
.result-section {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 12px;
}
.result-snippet {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}
.result-snippet strong {
    color: #e91e63;
    background-color: #fce4ec;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 700;
}

/* HTML formatındaki snippet'ler için stiller */
.result-snippet h5.dose-condition-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 15px 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.result-snippet h6.dose-type-title {
    font-size: 1.1rem;
    color: #3498db;
    margin: 12px 0 8px 0;
    font-weight: 600;
}

.result-snippet ul.dose-details-list {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
}

.result-snippet ul.dose-details-list > li {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.result-snippet ul.dose-details-list ul {
    list-style-type: none;
    padding-left: 15px;
    margin-top: 8px;
}

.result-snippet ul.dose-details-list ul li {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    padding: 4px 0;
    background-color: transparent;
    border: none;
    padding-left: 0;
}

.result-snippet ul.simple-list > li {
    background-color: transparent;
    border: none;
    padding: 6px 0;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px dashed #f1f1f1;
    margin-bottom: 0;
}

.result-snippet p {
    margin: 8px 0;
    color: #555;
    line-height: 1.6;
}

/* Arama sonucunda vurgulanan kelime için stil */
.search-highlight {
    background-color: #fff3cd !important;
    color: #856404 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    box-shadow: 0 0 0 2px #ffc107;
    animation: highlightPulse 1s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 0 2px #ffc107;
    }
    50% {
        box-shadow: 0 0 0 4px #ffc107;
    }
}

/* Mobil için .top-nav düzenlemesi */
@media (max-width: 600px) {
    .top-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Öğeler arası boşluk */
    }
    .content-search-container {
        margin-right: 0;
        order: -1; /* Arama kutusunu en üste al */
    }
}

/* === HEADER RESPONSIVE DÜZENLEMESİ (TABLET VE MOBİL) === */
@media (max-width: 1000px) {
    
    /* 1. Header'ı dikey hale getir */
    header {
        flex-direction: column;
        margin-bottom: 20px; /* Alttaki boşluğu azalt */
    }

    /* 2. Logo ve başlık için mobil ayarları */
    .logo-image {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
        max-width: 60px;
    }
    header h1.logo-text {
        margin-left: 0;
        margin-right: 0;
        font-size: 2rem;
    }

    /* 3. Alfabe butonunu akışa dahil et */
    .alphabet-button {
        position: static;
        margin-top: 15px;
        width: 90%;
        max-width: 280px;
        justify-content: center;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* 4. Sağ navigasyon alanını akışa dahil et */
    .top-nav {
        position: static; /* En önemlisi: Absolute'dan kurtarır */
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px; 
        width: 100%;
    }

    /* 5. İçerik arama kutusunu düzenle */
    .content-search-container {
        margin-right: 0;
        order: -1;
        width: 90%;
        max-width: 280px;
    }
    .content-search-container input {
        width: 100%;
        padding: 7px 30px 7px 12px;
        font-size: 0.85rem;
    }
    .content-search-container input:focus {
        width: 100%;
    }
    .content-search-container button {
        right: 3px;
        font-size: 0.8rem;
    }
}