    .notify-item .noti-item-subtitle p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        hyphens: auto;
        display: block !important;
        margin-bottom: 0.5rem !important;
    }

    .notify-item .flex-grow-1 {
        overflow: visible;
        min-width: 0;
    }

    .notify-item .text-truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .notify-item .flex-shrink-0 {
        flex-shrink: 0;
    }

    .notify-item .card-body {
        overflow: visible;
    }

    /* Okundu/Okunmadı bildirim stilleri */
    .unread-noti {
        background-color: #f8f9fa !important;
        border-left: 4px solid #007bff !important;
        border-radius: 0;
        opacity: 1;
        border-bottom: 1px solid rgb(228, 229, 230) !important;
    }

    .read-noti {
        background-color: #e9ecef !important;
        border-left: 4px solid #6c757d !important;
        border-radius: 0;
        opacity: 0.8;
        border-bottom: 1px solid rgb(216, 219, 221) !important;
    }

    .read-noti .noti-item-title {
        color: #6c757d !important;
    }

    .read-noti .noti-item-subtitle p {
        color: #6c757d !important;
    }

    .read-noti .notify-icon {
        opacity: 0.7;
    }

    /* Bildirim paneli tıklama kontrolü */
    .notification-list .dropdown-menu {
        pointer-events: auto;
    }

    .notification-list .dropdown-menu * {
        pointer-events: auto;
    }

    .notification-list .dropdown-toggle {
        pointer-events: auto;
    }

    /* Topbar Arama Stilleri — display:flex yalnızca .show ile; aksi halde menü sürekli görünür kalır */
    .app-search .dropdown-menu.topbar-search-dropdown {
        padding: 0;
    }

    .app-search .dropdown-menu.topbar-search-dropdown.show {
        display: flex;
        flex-direction: column;
        max-height: min(420px, calc(100vh - 100px));
        overflow: hidden;
    }

    .topbar-search-header {
        flex-shrink: 0;
    }

    .topbar-search-results-scroll {
        flex: 1 1 auto;
        min-height: 0;
        max-height: 300px;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #search-loading {
        flex-shrink: 0;
    }

    .app-search .notify-item {
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
    }

    .app-search .notify-item:hover {
        background-color: #f8f9fa;
    }

    .app-search .notify-item:last-child {
        border-bottom: none;
    }

    .topbar-search-footer {
        flex-shrink: 0;
        border-top: 1px solid #e9ecef;
        background: #f8f9fa;
    }

    .topbar-search-view-all {
        display: block;
        text-decoration: none;
    }

    .topbar-search-view-all:hover {
        background-color: #eef2ff;
    }

    .topbar-search-loading-more {
        text-align: center;
        padding: 0.5rem;
        color: #6c757d;
        font-size: 0.8125rem;
    }

    .topbar-search-result-item:last-of-type {
        border-bottom: none;
    }

    .topbar-search-suggestion-banner {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
        color: #856404;
        background-color: #fff8e6;
        border-bottom: 1px solid #ffe8a1;
        line-height: 1.4;
    }

    .topbar-search-suggestion-banner i {
        color: #e6a817;
        vertical-align: -0.1em;
    }

    .topbar-search-suggestion-item {
        background-color: #fffdf5;
        border-left: 3px solid #ffc107;
    }

    .topbar-search-suggestion-item:hover,
    .topbar-search-suggestion-item:focus {
        background-color: #fff8e1;
    }

    /* Randevu Takip dropdown: kompakt yapı, taşma önleme */
    .randevu-takip-dropdown {
        min-width: 300px;
        max-width: min(460px, calc(100vw - 24px));
        overflow-x: visible;
    }
    .randevu-takip-list {
        max-height: 400px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .randevu-takip-item {
        position: relative;
        margin-bottom: 0.75rem;
    }
    .randevu-takip-item:last-child {
        margin-bottom: 0;
    }
    .randevu-takip-badge-wrap {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .randevu-takip-badge-wrap .badge {
        white-space: nowrap;
    }
    .randevu-takip-actions {
        display: flex;
        gap: 0.1rem;
        justify-content: flex-end;
    }
    .randevu-takip-item-body {
        padding-right: 3rem;
        padding-left: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eee;
    }
    .randevu-takip-item .min-w-0 {
        min-width: 0;
    }
    .randevu-takip-hasta-link {
        position: relative;
        z-index: 2;
        cursor: pointer;
    }
    .randevu-takip-item a.text-dark:hover {
        color: var(--bs-primary) !important;
    }
    .randevu-takip-footer-link {
        white-space: normal;
        word-wrap: break-word;
        display: block;
    }
    @media (max-width: 576px) {
        .randevu-takip-dropdown {
            max-width: calc(100vw - 16px);
        }
    }

    .app-search .noti-item-title {
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .app-search .app-search-hint-summary-row {
        align-items: center;
    }

    .app-search #search-results-count-inline {
        max-width: 58%;
        line-height: 1.25;
    }

    /* Hasta arama: kaynak ikonları (patient-list ile aynı bi sınıfları) */
    .app-search .search-result-kaynak i {
        font-size: 0.8rem;
        vertical-align: middle;
    }

    .app-search .noti-item-subtitle {
        line-height: 1.4;
    }

    .app-search .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    /* Hasta arama sonucu: telefon + segment satırı, alt satır meta paneli */
    .app-search .search-result-phone-row .badge {
        max-width: 48%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Alt blok: kompakt tip; telefon satırından sonra biraz daha boşluk */
    .app-search .search-result-meta-row {
        margin-top: 0.55rem;
        font-size: 0.53rem;
    }

    .app-search .search-result-meta-row small {
        line-height: 1.22;
    }

    .app-search .search-result-meta-row i {
        font-size: 0.9em;
        vertical-align: -0.06em;
    }

    /* Arama trigger butonu stilleri */
    .search-trigger {
        position: relative;
    }

    #search-trigger-btn {
        color: #6c757d;
        transition: all 0.2s ease;
        border: none;
        background: none;
        padding: 8px;
        border-radius: 6px;
    }

    #search-trigger-btn:hover {
        color: #727cf5;
        background-color: rgba(114, 124, 245, 0.1);
        transform: scale(1.05);
    }

    #search-trigger-btn:focus {
        color: #727cf5;
        background-color: rgba(114, 124, 245, 0.1);
        box-shadow: 0 0 0 0.15rem rgba(114, 124, 245, 0.25);
    }

    /* Gizli arama input'u */
    #top-search {
        display: none !important;
    }

    /* Dropdown arama input'u stilleri */
    #dropdown-search {
        border-radius: 0 8px 8px 0;
        border-left: none;
    }

    #dropdown-search:focus {
        border-color: #727cf5;
        box-shadow: 0 0 0 0.15rem rgba(114, 124, 245, 0.25);
    }

    .input-group-text {
        border-radius: 8px 0 0 8px;
        border-right: none;
    }
    

    .app-search .input-group {
        position: relative;
    }

    /* Loading spinner için özel stil */
    #search-loading {
        background-color: #f8f9fa;
        border-radius: 8px;
        margin: 8px;
    }

    /* Segment sayı badge'leri için özel stiller */
    .position-relative .badge {
        min-width: 18px;
        height: 18px;
        line-height: 1;
        padding: 0.25rem 0.4rem;
        font-weight: 600;
        animation: pulse 2s infinite;
        transition: all 0.3s ease;
    }

    /* Gün içi takip buton renk geçişleri */
    .btn-soft-success {
        transition: all 0.3s ease;
    }
    
    .btn-soft-info {
        transition: all 0.3s ease;
    }
    
    .btn-soft-primary {
        transition: all 0.3s ease;
    }
    
    .btn-soft-warning {
        transition: all 0.3s ease;
    }
    
    .btn-soft-danger {
        transition: all 0.3s ease;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }

    /* Badge hover efekti */
    .position-relative:hover .badge {
        transform: scale(1.15);
        transition: transform 0.2s ease;
    }

    /* Mobil responsive için badge boyutu */
    @media (max-width: 768px) {
        .position-relative .badge {
            font-size: 0.5rem !important;
            min-width: 16px;
            height: 16px;
            padding: 0.2rem 0.3rem;
        }
    }

    /* Temsilci filtreleme için cursor pointer */
    .cursor-pointer {
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .cursor-pointer:hover {
        transform: scale(1.05);
        opacity: 0.8;
    }

    /* Tablo satır gizleme */
    .table-row-hidden {
        display: none !important;
    }

    /* Mor renk sınıfı (9+ operasyon için) */
    .bg-purple {
        background-color: #6f42c1 !important;
    }
    
    /* Takvim sayıları toggle butonu */
    #toggleNumbersBtn {
        border: 1px solid #dee2e6;
        background: white;
        color: #6c757d;
        transition: all 0.2s ease;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
    }
    
    #toggleNumbersBtn:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #495057;
        transform: scale(1.05);
    }
    
    #toggleNumbersBtn:focus {
        box-shadow: 0 0 0 0.15rem rgba(108, 117, 125, 0.25);
    }
    
    /* Gün sayıları için geçiş efekti */
    .day-numbers {
        transition: opacity 0.3s ease;
    }
    
    /* Gün harfleri için stil */
    .day-letter {
        font-size: 8px !important;
        font-weight: 600;
        color: #6c757d;
        margin-top: 2px;
        line-height: 1;
    }
    
    /* Pazar günleri için özel renk */
    .day-letter.sunday {
        color: #dc3545;
        font-weight: 700;
    }
    
    /* Yüksek operasyon filtre butonu aktif durumu */
    #toggleHighOperationsBtn.active {
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }
    
    #toggleHighOperationsBtn.active:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }
    
    /* Yüksek operasyon sayısı olan günlerin içeriğini gizle (hücre görünür kalır) */
    .day-cell.high-operation-hidden > div {
        visibility: hidden;
    }
    
    /* Operasyon Listesi: 1-4 (yesil) gunler icin dikkat cekici parlama */
    @keyframes priorityGreenGlow {
        0% {
            box-shadow: 0 0 0 rgba(255, 193, 7, 0);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 0 0 2px rgba(255, 72, 0, 0.99), 0 0 12px rgba(255, 68, 0, 0.75);
            transform: scale(1);
        }
        100% {
            box-shadow: 0 0 0 rgba(255, 193, 7, 0);
            transform: scale(1);
        }
    }
    
    .day-priority-glow {
        animation: priorityGreenGlow 1.8s ease-in-out infinite;
    }

    /* Operasyon Listesi dropdown: mobil taşmayı önle, gereksiz mesafeleri azalt */
    .operasyon-listesi-dropdown {
        min-width: 280px;
        max-width: min(420px, calc(100vw - 24px));
        overflow-x: visible;
    }
    .operasyon-listesi-header {
        padding: 0.35rem 0.5rem;
    }
    .operasyon-listesi-list {
        max-height: 400px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .operasyon-listesi-dropdown .calendar-month-block {
        padding: 0.5rem 0.5rem !important;
    }
    .operasyon-listesi-dropdown .calendar-month-block .row.px-1,
    .operasyon-listesi-dropdown .calendar-row .col.px-1 {
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }
    .operasyon-listesi-footer {
        white-space: normal;
        word-wrap: break-word;
    }
    @media (max-width: 576px) {
        .operasyon-listesi-dropdown {
            max-width: calc(100vw - 16px);
        }
    }

    /* Kişisel Notlarım dropdown: mobil uyumlu, düzenli yapı */
    .notlarim-dropdown {
        min-width: 280px;
        max-width: min(400px, calc(100vw - 24px));
        overflow-x: visible;
    }
    .notlarim-header {
        padding: 0.4rem 0.5rem;
    }
    .notlarim-list {
        max-height: 300px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .notlarim-body {
        padding: 0.5rem 0.5rem;
    }
    .notlarim-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        line-height: 1.4;
        font-size: 0.8125rem;
        max-height: 200px;
        overflow-y: auto;
        padding: 0.5rem 0.5rem;
        border: 1px solid #eee;
        border-radius: 6px;
        background-color: #fafafa;
    }
    .notlarim-empty {
        padding: 1rem 0.75rem;
    }
    @media (max-width: 576px) {
        .notlarim-dropdown {
            max-width: calc(100vw - 16px);
        }
    }

    /* Bildirimler dropdown: mobil uyumlu, düzenli yapı */
    .bildirimler-dropdown {
        min-width: 280px;
        max-width: min(440px, calc(100vw - 24px));
        overflow-x: visible;
    }
    .bildirimler-header {
        padding: 0.4rem 0.5rem;
    }
    .bildirimler-list {
        max-height: 400px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .bildirimler-section-title {
        letter-spacing: 0.02em;
    }
    .bildirim-item {
        overflow: visible !important;
    }
    .bildirim-item-body {
        padding: 0.5rem 0.5rem;
        overflow: visible !important;
    }
    .bildirim-header {
        margin-bottom: 0.35rem;
    }
    .bildirim-item .bildirim-text {
        width: 100%;
        margin-top: 0.25rem;
        margin-bottom: 0.35rem;
    }
    .bildirim-footer {
        padding-top: 0.35rem;
        border-top: 1px solid #eee;
    }
    .bildirim-icon {
        width: 32px;
        height: 32px;
    }
    .bildirim-item .flex-grow-1 {
        overflow: visible !important;
        min-width: 0;
    }
    .bildirim-item .card-body {
        overflow: visible !important;
    }
    .bildirim-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal !important;
        line-height: 1.4;
        font-size: 0.8125rem;
        color: #6c757d;
        margin-bottom: 0.25rem;
        overflow: visible !important;
        max-height: none !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        text-overflow: unset !important;
    }
    .bildirim-btn {
        width: 28px;
        height: 28px;
    }
    .bildirimler-footer {
        white-space: normal;
        word-wrap: break-word;
    }
    @media (max-width: 576px) {
        .bildirimler-dropdown {
            max-width: calc(100vw - 16px);
        }
    }

    /* Günlük Operasyonlar modal - mobil uyumlu üst bilgi alanı */
    @media (max-width: 767.98px) {
        #dayOperationsModal .modal-dialog {
            margin: 0.5rem;
            max-width: calc(100% - 1rem);
        }
        #dayOperationsModal .modal-body {
            padding: 0.75rem;
            overflow-x: hidden;
        }
        .day-ops-info {
            min-width: 0;
        }
        .day-ops-filters {
            min-width: 0;
            max-width: 100%;
        }
    }

/* Topbar arama — operasyon rozetleri (patient-list ile aynı görünüm) */
.topbar-search-op-badges .pl-patient-op-badges {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.2rem;
}

.topbar-search-op-badges .pl-patient-op-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    font-size: 0.74rem;
    line-height: 1;
    border: 1px solid transparent;
}

.topbar-search-op-badges .pl-patient-op-icon__count {
    position: absolute;
    top: -0.35rem;
    right: -0.38rem;
    min-width: 0.78rem;
    height: 0.78rem;
    padding: 0 0.1rem;
    border-radius: 999px;
    background: #1e293b;
    color: #fff !important;
    font-size: 0.5rem;
    font-weight: 700;
    line-height: 0.78rem;
    text-align: center;
    border: 1px solid #fff;
    box-sizing: border-box;
}

.topbar-search-op-badges .pl-patient-op-icon--planlandi {
    color: #dc2626 !important;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.topbar-search-op-badges .pl-patient-op-icon--tamamlandi {
    color: #16a34a !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.topbar-search-op-badges .pl-patient-op-icon--gorusme {
    color: #2563eb !important;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

.topbar-search-op-badges .pl-patient-op-icon--kontrol {
    color: #ca8a04 !important;
    background: #fefce8 !important;
    border-color: #fde047 !important;
}

.topbar-search-op-badges .pl-patient-op-icon--prp {
    color: #7c3aed !important;
    background: #f5f3ff !important;
    border-color: #ddd6fe !important;
}

.topbar-search-op-badges .pl-patient-op-icon--opsiyonlu {
    color: #ca8a04 !important;
    background: #fefce8 !important;
    border-color: #fde047 !important;
}