@import url('/assets/css/new-properties.css');
/*@import url('christmas.css');*/

/* body ölçeklendirme hilesi kaldırıldı - position: fixed sorunlarına neden oluyordu */

/* ===== DATERANGEPICKER STYLING (THEME PRIMARY BRAND DESIGN) ===== */
.daterangepicker {
    border: 1px solid #E4E6EF !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    padding: 0 !important;
    font-family: inherit !important;
    background: #ffffff !important;
    overflow: hidden;
    min-height: 360px !important;
}

.daterangepicker .ranges {
    padding: 14px 12px !important;
    margin: 0 !important;
    border-right: 1px solid #E4E6EF !important;
    background: #F4F6F9 !important;
    overflow: hidden !important;
    max-height: none !important;
}

.daterangepicker.show-calendar .ranges {
    height: 320px !important;
}

.daterangepicker .ranges ul {
    width: 170px !important;
    overflow: hidden !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.daterangepicker .ranges li {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #5E6278 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    margin-bottom: 2px !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    white-space: nowrap !important;
}

.daterangepicker .ranges li:hover {
    background-color: #EAEFF5 !important;
    color: var(--bs-primary) !important;
}

.daterangepicker .ranges li.active {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.daterangepicker .drp-calendar {
    max-width: none !important;
    min-width: 270px !important;
    padding: 18px 16px 24px 16px !important;
    min-height: 300px !important;
}

.daterangepicker .drp-calendar.left {
    border-left: none !important;
}

.daterangepicker .drp-calendar.right {
    border-left: 1px solid #EFF2F5 !important;
}

.daterangepicker .calendar-table th.month {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #181C32 !important;
    white-space: nowrap !important;
}

/* Daterangepicker Ay & Yıl Dropdown (Select & Option) Styling */
.daterangepicker select.monthselect {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #181C32 !important;
    background-color: #F4F6F9 !important;
    border: 1px solid #E4E6EF !important;
    border-radius: 8px !important;
    padding: 4px 20px 4px 10px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
    outline: none !important;
    display: inline-block !important;
    width: 105px !important;
    transition: all 0.2s ease !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235E6278' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
    background-size: 10px 10px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.daterangepicker select.yearselect {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #181C32 !important;
    background-color: #F4F6F9 !important;
    border: 1px solid #E4E6EF !important;
    border-radius: 8px !important;
    padding: 4px 18px 4px 8px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
    outline: none !important;
    display: inline-block !important;
    width: 75px !important;
    transition: all 0.2s ease !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235E6278' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 5px center !important;
    background-size: 10px 10px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.daterangepicker select.monthselect:hover,
.daterangepicker select.yearselect:hover,
.daterangepicker select.monthselect:focus,
.daterangepicker select.yearselect:focus {
    background-color: #ffffff !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

.daterangepicker select.monthselect option,
.daterangepicker select.yearselect option {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #3F4254 !important;
    background-color: #ffffff !important;
    padding: 8px 12px !important;
    line-height: 22px !important;
    min-height: 32px !important;
    cursor: pointer !important;
}

.daterangepicker select.monthselect option:hover,
.daterangepicker select.yearselect option:hover,
.daterangepicker select.monthselect option:focus,
.daterangepicker select.yearselect option:focus,
.daterangepicker select.monthselect option:checked,
.daterangepicker select.yearselect option:checked {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.daterangepicker .calendar-table .prev,
.daterangepicker .calendar-table .next {
    background: #ffffff !important;
    /*border: 1px solid #E4E6EF !important;*/
    border-radius: 8px !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}

.daterangepicker .calendar-table .prev:hover,
.daterangepicker .calendar-table .next:hover {
    background: var(--bs-primary-light, #F5F8FA) !important;
}

.daterangepicker .calendar-table .prev span,
.daterangepicker .calendar-table .next span {
    border-color: #5E6278 !important;
}

.daterangepicker .calendar-table th {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #A1A5B7 !important;
    padding-bottom: 8px !important;
}

.daterangepicker .drp-calendar td {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #181C32 !important;
    border-radius: 8px !important;
    border: none !important;
}

.daterangepicker .drp-calendar td.available:hover {
    background-color: var(--bs-primary-light, #F5F8FA) !important;
    color: var(--bs-primary) !important;
}

.daterangepicker .drp-calendar td.off {
    color: #D8D8D8 !important;
}

.daterangepicker .drp-calendar td.in-range:not(.active) {
    background-color: var(--bs-primary-light, #E1F5FE) !important;
    color: var(--bs-primary) !important;
    border-radius: 0 !important;
}

.daterangepicker .drp-calendar td.active,
.daterangepicker .drp-calendar td.start-date,
.daterangepicker .drp-calendar td.end-date {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

.daterangepicker .drp-buttons {
    border-top: 1px solid #EFF2F5 !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.daterangepicker .drp-selected {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--bs-primary) !important;
    margin-right: auto !important;
    padding-right: 12px !important;
}

.daterangepicker .drp-buttons .btn {
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 7px 18px !important;
    margin-left: 8px !important;
}

.daterangepicker .drp-buttons .btn-default,
.daterangepicker .drp-buttons .cancelBtn {
    background-color: #ffffff !important;
    color: #3F4254 !important;
    border: 1px solid #E4E6EF !important;
}

.daterangepicker .drp-buttons .btn-default:hover,
.daterangepicker .drp-buttons .cancelBtn:hover {
    background-color: #F5F8FA !important;
}

.daterangepicker .drp-buttons .btn-primary,
.daterangepicker .drp-buttons .applyBtn {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.daterangepicker .drp-buttons .btn-primary:hover,
.daterangepicker .drp-buttons .applyBtn:hover {
    background-color: var(--bs-primary-active, var(--bs-primary)) !important;
    border-color: var(--bs-primary-active, var(--bs-primary)) !important;
}

/* ===== PRELOADER OVERLAY & BOUNCE LOADER (SIRA) ===== */
#wait {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
}

[data-bs-theme="dark"] #wait {
    background: rgba(15, 17, 23, 0.4) !important;
}

#wait[style*="display: block"],
#wait[style*="display: flex"] {
    display: flex !important;
}

#preloader {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

@keyframes ld-bounce {
    0%, 70%, 100% {
        transform: translateY(0) scale(1);
    }
    30% {
        transform: translateY(-18px) scale(1.06);
    }
}
.l2d-bounce-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.l2d-bounce-item {
    width: 36px;
    height: 36px;
    object-fit: contain;
    animation: ld-bounce 1.3s cubic-bezier(.36, .07, .19, .97) infinite;
}
.l2d-bounce-item:nth-child(1) { animation-delay: 0s; }
.l2d-bounce-item:nth-child(2) { animation-delay: 0.16s; }
.l2d-bounce-item:nth-child(3) { animation-delay: 0.32s; }
.l2d-bounce-item:nth-child(4) { animation-delay: 0.48s; }

/* Courier Alert & License Animations */
@keyframes courierAlertBlink {
    0%, 100% { background-color: transparent; }
    25% { background-color: rgba(220, 53, 69, 0.15); }
    50% { background-color: rgba(220, 53, 69, 0.25); }
    75% { background-color: rgba(220, 53, 69, 0.15); }
}
.courier-alert-blink .menu-link {
    animation: courierAlertBlink 1.5s ease-in-out infinite;
    border-radius: 6px;
}
.courier-alert-blink .menu-link .menu-title {
    animation: courierTextBlink 1.5s ease-in-out infinite;
}
.courier-alert-blink .menu-link .menu-icon i {
    animation: courierIconBlink 1.5s ease-in-out infinite;
}
.warning-alert-blink {
    animation: courierAlertBlink 1.5s ease-in-out infinite;
}
@keyframes courierTextBlink {
    0%, 100% { color: inherit; }
    50% { color: #dc3545; font-weight: 600; }
}
@keyframes courierIconBlink {
    0%, 100% { color: inherit; }
    50% { color: #dc3545; transform: scale(1.1); }
}
@keyframes pulse-license-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 44, 80, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(240, 44, 80, 0); }
}
@keyframes slow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.license-alert-pill {
    animation: pulse-license-border 2s infinite;
    transition: all 0.3s ease;
}
.license-alert-pill:hover {
    transform: translateY(-1px);
    background-color: #f1416c !important;
    color: #fff !important;
}
.license-alert-pill:hover i {
    color: #fff !important;
}
.warning-pill {
    animation: pulse-license-border 2s infinite;
    transition: all 0.3s ease;
}
.warning-pill:hover {
    transform: translateY(-1px);
    background-color: #f19f41 !important;
    color: #fff !important;
}
.warning-pill:hover i {
    color: #fff !important;
}
.animate-spin-slow {
    animation: slow-spin 12s linear infinite;
}

/* Global Kamera Modal — CSS */
.btn-navbar-camera {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, .10);
    border: 1px solid rgba(99, 102, 241, .25);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    z-index: 2;
}
.btn-navbar-camera:hover {
    background: rgba(99, 102, 241, .22);
    border-color: rgba(99, 102, 241, .55);
    color: var(--bs-primary);
}
.btn-navbar-camera.active {
    background: rgba(34, 197, 94, .15);
    border-color: rgba(34, 197, 94, .45);
    color: #22c55e;
}
.cam-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, .70);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.cam-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.cam-modal {
    background: #0f1117;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    width: 440px;
    max-width: calc(100vw - 32px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04);
    overflow: hidden;
    transform: translateY(20px) scale(.96);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.cam-modal-overlay.open .cam-modal {
    transform: translateY(0) scale(1);
}
.cam-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.cam-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
}
.cam-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
    transition: background .3s, box-shadow .3s;
}
.cam-live-dot.active {
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: cam-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes cam-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.cam-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    border: none;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    line-height: 1;
}
.cam-close-btn:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.cam-select-wrap {
    padding: 14px 20px 0;
}
.cam-select-wrap select {
    width: 100%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 13px;
    padding: 9px 36px 9px 12px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color .2s;
}
.cam-select-wrap select:focus {
    border-color: rgba(129, 140, 248, .6);
}
.cam-select-wrap select option {
    background: #1e2130;
}
.cam-video-wrap {
    position: relative;
    margin: 14px 20px;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 4/3;
}
.cam-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cam-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--bs-primary) 25%, #a5f3fc 50%, var(--bs-primary) 75%, transparent 100%);
    filter: blur(1px);
    animation: cam-scan 2.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cam-scan {
    0% { top: 4%; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { top: 96%; opacity: 0; }
}
.cam-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cam-corners::before,
.cam-corners::after,
.cam-corners span::before,
.cam-corners span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(165, 243, 252, .75);
    border-style: solid;
}
.cam-corners::before {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
    border-radius: 3px 0 0 0;
}
.cam-corners::after {
    top: 10px;
    right: 10px;
    border-width: 2px 2px 0 0;
    border-radius: 0 3px 0 0;
}
.cam-corners span::before {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 3px;
}
.cam-corners span::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 3px 0;
}
@keyframes cam-flash-green {
    0% { box-shadow: inset 0 0 0 3px rgba(34, 197, 94, 0); }
    40% { box-shadow: inset 0 0 0 4px rgba(34, 197, 94, .9); }
    100% { box-shadow: inset 0 0 0 3px rgba(34, 197, 94, 0); }
}
.cam-video-wrap.flash {
    animation: cam-flash-green .5s ease-out;
}
.cam-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 20, .78);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    border-radius: 14px;
    z-index: 10;
}
.cam-loading-overlay.visible {
    opacity: 1;
    pointer-events: all;
}
.cam-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(165, 243, 252, .2);
    border-top-color: #a5f3fc;
    border-radius: 50%;
    animation: cam-spin .7s linear infinite;
}
@keyframes cam-spin {
    to { transform: rotate(360deg); }
}
.cam-loading-text {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}
.cam-loading-code {
    color: #94a3b8;
    font-size: 11px;
    font-family: monospace;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cam-status {
    margin: 0 20px 18px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .25s, color .25s;
}
.cam-status.scanning {
    background: rgba(99, 102, 241, .15);
    color: #a5b4fc;
}
.cam-status.found {
    background: rgba(34, 197, 94, .15);
    color: #86efac;
}
.cam-status.error {
    background: rgba(239, 68, 68, .13);
    color: #fca5a5;
}

/* EasyAutocomplete Result Container Beautification */
.easy-autocomplete-container {
    z-index: 1000 !important;
}
.easy-autocomplete-container ul {
    border-radius: 14px !important;
    overflow-y: auto !important;
    max-height: 450px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
    border: 1px solid #eff2f5 !important;
    margin-top: 10px !important;
    background: #fff !important;
    width: 100% !important;
}
.easy-autocomplete-container ul::-webkit-scrollbar {
    width: 6px;
}
.easy-autocomplete-container ul::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 14px 14px 0;
}
.easy-autocomplete-container ul::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.easy-autocomplete-container ul::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}
.easy-autocomplete-container ul li {
    border-bottom: 1px solid #f1f1f4 !important;
    padding: 0 !important;
    transition: all 0.2s ease;
}
.easy-autocomplete-container ul li:last-child {
    border-bottom: none !important;
}
.easy-autocomplete-container ul li.selected {
    background-color: #f8f9fa !important;
}
.easy-autocomplete {
    width: 100% !important;
}
mark.highlight-search {
    background-color: #fff3cd !important;
    color: #856404 !important;
    padding: 0 2px !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
}

.menu-link.active {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}

.menu-link.active .menu-icon .text-info,
.menu-link.active .menu-title {
    color: #fff !important;
}

.checkbox-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ios-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    --checkbox-size: 22px;
    --checkbox-color: #3b82f6;
    --checkbox-bg: #dbeafe;
    --checkbox-border: #93c5fd;
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.checkbox-label {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    font-weight: 600;
}

.ios-checkbox input {
    display: none;
}

.checkbox-wrapper {
    position: relative;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.checkbox-bg {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px solid var(--checkbox-border);
    transition: all 0.2s ease;
}

.checkbox-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80%;
    height: 80%;
    color: white;
    transform: scale(0);
    transition: all 0.2s ease;
}

.check-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    transition: stroke-dashoffset 0.3s ease 0.1s;
}

/* Checked State */
.ios-checkbox input:checked+.checkbox-wrapper .checkbox-bg {
    background: var(--checkbox-color);
    border-color: var(--checkbox-color);
}

.ios-checkbox input:checked~.checkbox-label {
    color: var(--checkbox-color);
}

.ios-checkbox input:checked+.checkbox-wrapper .checkbox-icon {
    transform: scale(1);
}

.ios-checkbox input:checked+.checkbox-wrapper .check-path {
    stroke-dashoffset: 0;
}

/* Hover Effects */
.ios-checkbox:hover .checkbox-wrapper {
    transform: scale(1.05);
}

/* Active Animation */
.ios-checkbox:active .checkbox-wrapper {
    transform: scale(0.95);
}

/* Focus Styles */
.ios-checkbox input:focus+.checkbox-wrapper .checkbox-bg {
    box-shadow: 0 0 0 4px var(--checkbox-bg);
}

/* Color Themes */
.ios-checkbox.blue {
    --checkbox-color: #3b82f6;
    --checkbox-bg: #dbeafe;
    --checkbox-border: #93c5fd;
}

.ios-checkbox.green {
    --checkbox-color: #10b981;
    --checkbox-bg: #d1fae5;
    --checkbox-border: #6ee7b7;
}

.ios-checkbox.purple {
    --checkbox-color: var(--bs-primary);
    --checkbox-bg: #ede9fe;
    --checkbox-border: var(--bs-primary-light);
}

.ios-checkbox.black {
    --checkbox-color: #252525;
    --checkbox-bg: #f3f4f6;
    --checkbox-border: #d1d5db;
}

.ios-checkbox.red {
    --checkbox-color: darkred;
    --checkbox-bg: #fee2e2;
    --checkbox-border: #cc0505;
}

/* Animation */
@keyframes bounce {

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

    50% {
        transform: scale(1.1);
    }
}

.ios-checkbox input:checked+.checkbox-wrapper {
    animation: bounce 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.teeth-box .form-check-input {
    background-color: #ddd !important;
    height: 20px !important;
    width: 20px !important;
    border-radius: 15% !important;
    border: 1px solid #ddd !important;
}

.teeth-box .form-check-input:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.tooltip-left-align .tooltip-inner {
    text-align: left !important;
    max-width: 500px;
    white-space: normal;
}

.easy-autocomplete,
.twitter-typeahead {
    width: 100% !important;
}

.easy-autocomplete-container {
    z-index: 10000 !important;
}

.easy-autocomplete input {
    /*background-color: #F1F1F4 !important;*/
    border: 0 !important;
    height: 45px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 0 0 0 !important;
}

/* Autocomplete suggestion container */
.autocomplete-suggestion {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Suggestion header */
.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tracking number and patient */
.tracking-info {
    font-size: 16px;
    font-weight: bold;
    color: var(--bs-gray-800) !important;
}

/* Date section */
.date-info {
    font-size: 14px;
    color: #34495e;
    white-space: nowrap;
}

/* Suggestion body */
.suggestion-body p {
    margin: 4px 0;
    font-size: 16px;
    color: #34495e;
}

/* Ensure dropdown styling */
.easy-autocomplete-container ul {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.easy-autocomplete-container ul li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.easy-autocomplete-container ul li:hover,
.easy-autocomplete-container ul li.selected {
    background-color: #f5f5f5;
}

/* Scrollbar styling */
.easy-autocomplete-container ul::-webkit-scrollbar {
    width: 8px;
}

.easy-autocomplete-container ul::-webkit-scrollbar-thumb {
    background-color: #bdc3c7;
    border-radius: 4px;
}

.easy-autocomplete-container ul::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

.remove-arrows {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.remove-arrows::-webkit-inner-spin-button,
.remove-arrows::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tooth-design {
    display: flex;
    flex-direction: column;
}

.quadrant-tooth {
    display: flex;
    justify-content: space-between;
}

.bottom-tooth {
    border-top: 1px solid #b5b5b5;
}

.right-top-tooth,
.left-top-tooth,
.right-bottom-tooth,
.left-bottom-tooth {
    flex: 1;
    text-align: center;
    padding: 5px;
}

.right-top-tooth,
.right-bottom-tooth {
    border-right: 1px solid #b5b5b5;
}

.tooth-design span {
    font-size: 9px !important;
    color: #000 !important;
}

.bg-color-tooth {
    background: #FFFFEA !important;
}

.timeline-line-before::before {
    left: 151px !important;
}

.timeline-label:before {
    left: 167px !important;
}

.nav-link.text-gray-800.active {
    color: var(--bs-primary) !important;
}

.card-file {
    position: relative;
    width: 300px;
    height: 200px;
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-file svg {
    width: 48px;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-file:hover {
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card-file-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(242, 242, 242, 0.78);
    transform: rotateX(-90deg);
    transform-origin: bottom;
}

.card-file:hover .card-file-content {
    transform: rotateX(0deg);
}

.card-file-title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.card-file:hover svg {
    scale: 0;
}

.card-file-description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

.twitter-typeahead {
    position: relative !important;
}

.tt-menu {
    width: 100% !important;
    background-color: #FFFFFF !important;
    border-radius: 10px !important;
    box-shadow: 0 0 0 0 !important;
    padding: 10px !important;
    margin-top: 10px !important;
    border: 1px solid #F1F1F4 !important;
    max-height: 200px;
    overflow-y: auto;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 10000 !important;
}

.tt-suggestion {
    padding: 10px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #F1F1F4 !important;
    cursor: pointer;
}

.tt-suggestion:hover,
.tt-suggestion.tt-cursor {
    background-color: #F1F1F4 !important;
}

.tt-suggestion p {
    margin: 0 !important;
}

.sticky-left-panel {
    position: sticky;
    top: 110px;
    height: 100vh;
    overflow: hidden;
}

.sticky-left-panel .card-body {
    height: calc(100vh - 55px);
    overflow-y: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

/* ═══════════════════════════════════════════════════
   PREMIUM FLOATING CHAT WIDGET
   ═══════════════════════════════════════════════════ */

/* Chat Panel - Floating card */
.premium-chat-panel {
    position: fixed;
    bottom: 24px;
    right: 90px;
    width: 420px;
    height: 600px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    z-index: 1060;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat views layout */
#chat-list-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#chat-message-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#chat-message-view.d-none {
    display: none !important;
}

/* Header */
.premium-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bs-primary);
    color: #fff;
    flex-shrink: 0;
}

.premium-chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.premium-chat-avatar-group {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.premium-chat-header-info {
    min-width: 0;
}

.premium-chat-header-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-chat-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.premium-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.premium-icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.premium-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Search Bar */
.premium-chat-search {
    padding: 12px 16px 8px;
    flex-shrink: 0;
}

.premium-search-input-wrapper {
    display: flex;
    align-items: center;
    background: #f4f6f8;
    border-radius: 12px;
    padding: 0 14px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.premium-search-input-wrapper:focus-within {
    background: #fff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.premium-search-input-wrapper i {
    color: #9ca3af;
    flex-shrink: 0;
}

.premium-search-input-wrapper input {
    border: none;
    background: transparent;
    padding: 10px 10px;
    font-size: 13px;
    width: 100%;
    outline: none;
    color: #374151;
}

.premium-search-input-wrapper input::placeholder {
    color: #9ca3af;
}

/* New Chat Section */
.premium-new-chat-section {
    padding: 4px 16px 8px;
    flex-shrink: 0;
}

.premium-new-chat-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.premium-select-wrapper {
    flex: 1;
    min-width: 0;
}

.premium-select-wrapper .select2-container {
    width: 100% !important;
}

.premium-select-wrapper .select2-container--default .select2-selection--single {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    height: 38px;
    transition: border-color 0.2s;
}

.premium-select-wrapper .select2-container--default .select2-selection--single:hover {
    border-color: var(--bs-primary);
}

.premium-start-chat-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: var(--bs-primary);
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.premium-start-chat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

/* Chat list body */
.premium-chat-list-body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}

.premium-chat-list-body::-webkit-scrollbar {
    width: 4px;
}

.premium-chat-list-body::-webkit-scrollbar-track {
    background: transparent;
}

.premium-chat-list-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

/* Empty state */
.premium-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 12px;
}

.premium-empty-state p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

/* Chat Item */
.premium-chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.premium-chat-item:hover {
    background: #f8f9ff;
    border-left-color: var(--bs-primary);
}

.premium-chat-item-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.premium-chat-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}

.premium-chat-item-content {
    flex: 1;
    min-width: 0;
}

.premium-chat-item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.premium-chat-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-chat-item-time {
    font-size: 11px;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: 8px;
}

.premium-chat-item-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-tracking-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
    color: var(--bs-primary);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.premium-chat-item-preview {
    font-size: 12.5px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════
   Message Area
   ═══════════════════ */
.premium-chat-messages-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: linear-gradient(180deg, #f0f2f5 0%, #e8eaed 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
}

.premium-chat-messages-body::-webkit-scrollbar {
    width: 5px;
}

.premium-chat-messages-body::-webkit-scrollbar-track {
    background: transparent;
}

.premium-chat-messages-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* Load More */
.premium-load-more {
    text-align: center;
    margin-bottom: 12px;
}

.premium-load-more-btn {
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--bs-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.premium-load-more-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* Loader */
.premium-loader {
    text-align: center;
    padding: 20px;
}

.premium-loader-dots {
    display: inline-flex;
    gap: 6px;
}

.premium-loader-dots span {
    width: 8px;
    height: 8px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: premiumBounce 1.4s ease-in-out infinite;
}

.premium-loader-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.premium-loader-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes premiumBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

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

/* Message bubbles */
.premium-msg {
    display: flex;
    margin-bottom: 22px;   /* Extra space for reaction bar below bubbles */
    animation: premiumMsgIn 0.25s ease-out;
    overflow: visible;  /* Required so absolute reaction bar doesn't clip */
    position: relative;
}

@keyframes premiumMsgIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.premium-msg-mine {
    justify-content: flex-end;
}

.premium-msg-theirs {
    justify-content: flex-start;
}

.premium-msg-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 16px;
    position: relative;
    overflow: visible;   /* Allow reaction bar to appear outside bubble */
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.premium-msg-mine .premium-msg-bubble {
    background: var(--bs-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.premium-msg-theirs .premium-msg-bubble {
    background: #fff;
    color: #1f2937;
    border-bottom-left-radius: 4px;
}

.premium-msg-text {
    margin: 0 0 4px 0;
    font-size: 13.5px;
    line-height: 1.5;
    word-break: break-word;
}

.premium-msg-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.premium-msg-time {
    font-size: 10.5px;
    opacity: 0.7;
}

.premium-msg-mine .premium-msg-time {
    color: rgba(255, 255, 255, 0.8);
}

.premium-msg-theirs .premium-msg-time {
    color: #9ca3af;
}

.premium-msg-status {
    font-size: 11px;
}

.premium-msg-status i {
    font-size: 11px;
}

.premium-msg-mine .premium-msg-status i.fa-check {
    color: rgba(255, 255, 255, 0.6) !important;
}

.premium-msg-mine .premium-msg-status i.fa-check-double {
    color: #93f5ec !important;
}

/* Media in messages */
.premium-msg-media {
    margin-bottom: 6px;
    border-radius: 10px;
    overflow: hidden;
    max-width: 260px;
}

.premium-msg-media img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.premium-msg-media img:hover {
    opacity: 0.9;
}

.premium-msg-media video {
    width: 100%;
    max-height: 220px;
    display: block;
}

.premium-msg-media-link {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    max-width: 260px;
    margin-bottom: 6px;
}

.premium-msg-media-link img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.premium-msg-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.premium-msg-media-link:hover .premium-msg-media-overlay {
    opacity: 1;
}

.premium-msg-media-overlay i {
    font-size: 28px;
    color: #fff;
}

.premium-msg-audio {
    width: 100%;
    max-width: 240px;
    height: 36px;
    margin-bottom: 4px;
}

.premium-msg-filename {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.premium-msg-file-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 10px;
    text-decoration: none;
    color: var(--bs-primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.premium-msg-mine .premium-msg-file-link {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.premium-msg-file-link:hover {
    background: rgba(102, 126, 234, 0.15);
}

.premium-msg-file-link i {
    font-size: 18px;
}

.premium-msg-file-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════
   Chat Footer / Input
   ═══════════════════ */
.premium-chat-footer {
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #f3f4f6;
}

.premium-message-form {
    padding: 12px 16px;
}

.premium-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.premium-input-row .premium-icon-btn.attach-btn {
    width: 38px;
    height: 38px;
    background: #f4f6f8;
    color: #6b7280;
    border-radius: 10px;
    flex-shrink: 0;
    margin-bottom: 1px;
}

.premium-input-row .premium-icon-btn.attach-btn:hover {
    background: #e9ebf0;
    color: var(--bs-primary);
}

.premium-textarea-wrapper {
    flex: 1;
    min-width: 0;
}

.premium-message-input {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 9px 14px;
    font-size: 13.5px;
    resize: none;
    outline: none;
    max-height: 120px;
    line-height: 1.4;
    background: #f9fafb;
    transition: all 0.2s;
    color: #1f2937;
}

.premium-message-input:focus {
    border-color: var(--bs-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.premium-message-input::placeholder {
    color: #9ca3af;
}

.premium-send-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bs-primary);
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-bottom: 0;
}

.premium-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.premium-send-btn i {
    font-size: 16px;
}

/* File preview area */
.premium-file-preview-area {
    display: flex;
    gap: 8px;
    padding: 8px 0 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.premium-file-preview-area::-webkit-scrollbar {
    height: 3px;
}

.premium-file-preview-area::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.premium-file-preview-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    background: #f9fafb;
}

.premium-file-preview-item:hover {
    border-color: var(--bs-primary);
}

.premium-file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-file-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-file-name {
    font-size: 9px;
    color: #6b7280;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    margin-top: 2px;
}

.premium-file-remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s;
}

.premium-file-remove-btn:hover {
    background: #ef4444;
}

/* ═══════════════════
   Dark Theme Support
   ═══════════════════ */
[data-bs-theme="dark"] .premium-chat-panel {
    background: #1e1e2d;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .premium-search-input-wrapper {
    background: #2b2b40;
}

[data-bs-theme="dark"] .premium-search-input-wrapper:focus-within {
    background: #1e1e2d;
}

[data-bs-theme="dark"] .premium-search-input-wrapper input {
    color: #e5e7eb;
}

[data-bs-theme="dark"] .premium-chat-item:hover {
    background: #2b2b40;
}

[data-bs-theme="dark"] .premium-chat-item-name {
    color: #e5e7eb;
}

[data-bs-theme="dark"] .premium-chat-messages-body {
    background: linear-gradient(180deg, #151521 0%, #1b1b2c 100%);
}

[data-bs-theme="dark"] .premium-msg-theirs .premium-msg-bubble {
    background: #2b2b40;
    color: #e5e7eb;
}

[data-bs-theme="dark"] .premium-chat-footer {
    background: #1e1e2d;
    border-top-color: #2b2b40;
}

[data-bs-theme="dark"] .premium-message-input {
    background: #2b2b40;
    border-color: #3b3b52;
    color: #e5e7eb;
}

[data-bs-theme="dark"] .premium-message-input:focus {
    background: #1e1e2d;
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .premium-input-row .premium-icon-btn.attach-btn {
    background: #2b2b40;
    color: #9ca3af;
}

[data-bs-theme="dark"] .premium-file-preview-item {
    background: #2b2b40;
    border-color: #3b3b52;
}

[data-bs-theme="dark"] .premium-load-more-btn {
    background: rgba(43, 43, 64, 0.85);
    color: #93a1f7;
}

[data-bs-theme="dark"] .premium-select-wrapper .select2-container--default .select2-selection--single {
    background: #2b2b40;
    border-color: #3b3b52;
    color: #e5e7eb;
}

/* ═══════════════════
   Responsive
   ═══════════════════ */
@media (max-width: 576px) {
    .premium-chat-panel {
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
        height: calc(100vh - 80px);
        border-radius: 16px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .premium-chat-panel {
        right: 16px;
        width: 380px;
    }
}

/* ═══════════════════
   Legacy overrides (keep old classes working)
   ═══════════════════ */
.chat-container {
    position: relative;
    width: 100%;
    height: calc(100% - 120px);
    padding: 20px;
    overflow-y: auto;
    background: #f1f1f4;
}

/* Base reset */
.quota-card,
.file-size,
.quota-details,
.quota-percentage {
    background: transparent;
    color: inherit;
}

/* Light Theme */
[data-bs-theme=light] .quota-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s;
}

[data-bs-theme=dark] .quota-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s;
}

[data-bs-theme=light] .file-size {
    font-size: 1rem;
    color: #555;
}

[data-bs-theme=light] .quota-details {
    font-size: 0.9rem;
    color: #333;
}

[data-bs-theme=light] .quota-percentage {
    font-weight: bold;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 576px) {
    [data-bs-theme=light] .quota-card {
        padding: 15px;
    }

    [data-bs-theme=light] .file-size {
        font-size: 0.9rem;
        color: #555;
    }

    [data-bs-theme=light] .quota-details {
        font-size: 0.8rem;
        color: #333;
    }
}

#chat-messages {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#messages-container {
    flex-grow: 1;
    overflow-y: auto;
}

#back-to-chats {
    display: flex;
    align-items: center;
}

#chat-recipient-name {
    flex-grow: 1;
}

.pending-message {
    opacity: 0.5;
}

#load-more-messages {
    margin-bottom: 10px;
}

.tooth-design-div .d-flex {
    flex-wrap: wrap;
}

.teeth {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.teeth-box {
    flex: 1 0 10%;
    max-width: 50px;
    min-width: 35px;
}

.input-edit-background {
    background-color: rgba(245, 210, 155, 0.68) !important;
    border-color: rgba(245, 210, 155, 0.68) !important;
    color: #000 !important;
}

.fc-custom-event {
    background-color: #ffffff;
    padding: 2px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 2px;
}

.fc-custom-event>div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-custom-fittings {
    color: #fa2f2f;
}

.fc-custom-milling {
    color: #dd00ff;
}

.fc-custom-order {
    color: #446bf4;
}

.fc-custom-extra {
    font-size: 0.8em;
    color: #1e1e2f;
}

/* Dark Theme */
[data-bs-theme=dark] .chat-container {
    background: #1e1e2f;
}

[data-bs-theme=dark] .message-content {
    background: #2a2a3d;
    color: #ddd;
}

[data-bs-theme=dark] .message-box.friend-message .message-content {
    background: #3a3a4e;
}

[data-bs-theme=dark] .message-box.my-message .message-content::before {
    background: linear-gradient(135deg, #2a2a3d 0%, #2a2a3d 50%, transparent 50%, transparent);
}

[data-bs-theme=dark] .message-box.friend-message .message-content::before {
    background: linear-gradient(225deg, #3a3a4e 0%, #3a3a4e 50%, transparent 50%, transparent);
}

[data-bs-theme=dark] .checkbox-label {
    color: #ddd;
}

[data-bs-theme=dark] .table-container {
    background: transparent;
}

[data-bs-theme=dark] .quota-card,
[data-bs-theme=dark] .file-size,
[data-bs-theme=dark] .quota-details,
[data-bs-theme=dark] .quota-percentage {
    background: #1e1e2f;
    color: #ddd;
}

[data-bs-theme=dark] .file-size {
    font-size: 1rem;
    color: #ccc;
}

[data-bs-theme=dark] .quota-details {
    font-size: 0.9rem;
    color: #bbb;
}

[data-bs-theme=dark] .quota-percentage {
    font-weight: bold;
    color: #66b0ff;
}

[data-bs-theme=dark] .easy-autocomplete input {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-gray-700) !important;
}

[data-bs-theme=dark] .autocomplete-suggestion {
    background-color: var(--bs-gray-100) !important;
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .suggestion-header {
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .tracking-info {
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .date-info {
    color: #bdc3c7 !important;
}

[data-bs-theme=dark] .suggestion-body p {
    color: #ecf0f1 !important;
}

[data-bs-theme=dark] .easy-autocomplete-container ul li,
[data-bs-theme=dark] .easy-autocomplete-container ul li.selected {
    background-color: var(--bs-gray-100) !important;
}

[data-bs-theme=dark] .nav-link.text-gray-800.active {
    color: var(--bs-primary) !important;
}

[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here),
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here),
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-icon i,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here) .menu-arrow:after,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon,
[data-bs-theme=dark] .app-sidebar-menu-primary.menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon i {
    color: var(--bs-primary) !important;
}

[data-bs-theme=dark] {
    --bs-text-info: var(--bs-primary) !important;
}

[data-bs-theme=dark] .iti__country-list,
[data-bs-theme=dark] .iti__dropdown-content {
    background: #0D0E12;
    color: #ddd;
    border: 1px solid #444 !important;
}

[data-bs-theme=dark] .tooth-design {
    background: #ffffffa1 !important;
}

[data-bs-theme=dark] .swal2-title {
    color: #ddd !important;
}

[data-bs-theme=dark] .fc-daygrid-day-number {
    background: #0D0E12;
}

[data-bs-theme=dark] .fc-custom-event {
    background-color: #1e1e2f;
    color: #ddd;
}

[data-bs-theme=dark] .fc-custom-extra {
    color: #bbb;
}

/* Responsive Design for Dark Theme */
@media (max-width: 576px) {
    [data-bs-theme=dark] .quota-card {
        padding: 15px;
    }

    [data-bs-theme=dark] .file-size {
        font-size: 0.9rem;
        color: #ccc;
    }

    [data-bs-theme=dark] .quota-details {
        font-size: 0.8rem;
        color: #bbb;
    }
}


.col-protez-adi {
    width: auto;
    min-width: 200px !important;
    max-width: 200px !important;
}

.col-dis-no {
    width: auto;
    min-width: 100px !important;
}

.col-adet {
    width: auto;
    min-width: 60px !important;
}

.col-renk,
.col-kole {
    width: auto;
    min-width: 80px !important;
}

.col-birim-fiyat,
.col-toplam-tutar {
    width: auto;
    min-width: 80px !important;
}

.col-rpt {
    width: 50px !important;
}

.col-rpt-detail {
    width: 215px !important;
}


/* Custom Modal Styles */
.reference-modal-dialog {
    max-width: 1200px;
}

.reference-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-active) 100%);
    overflow: hidden;
}

.reference-modal-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.reference-modal-title {
    color: white;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reference-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.reference-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.reference-modal-body {
    padding: 2rem;
    background: white;
    margin: 0;
}

.reference-modal-product-card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.reference-modal-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.reference-modal-code-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.reference-modal-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.reference-modal-card-body {
    padding: 1.5rem;
}

.reference-modal-card-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.reference-modal-card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.reference-modal-input-group {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.reference-modal-input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.reference-modal-form-control {
    background: transparent;
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.reference-modal-form-control:focus {
    background: transparent;
    box-shadow: none;
    color: #495057;
}

.reference-modal-copy-btn {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-primary-active));
    border: none;
    color: white;
    padding: 15px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0;
}

.reference-modal-copy-btn:hover {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-primary-active));
    transform: scale(1.05);
    color: white;
}

.reference-modal-icon {
    margin-right: 8px;
}

/* Card specific gradients */
.reference-modal-card-1 .reference-modal-card-img {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
}

.reference-modal-card-2 .reference-modal-card-img {
    background: linear-gradient(45deg, #43e97b 0%, #38f9d7 100%);
}

.reference-modal-card-3 .reference-modal-card-img {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
}

/* Animation for modal entrance */
.reference-modal-fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.reference-modal-fade.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reference-modal-dialog {
        margin: 10px;
    }

    .reference-modal-header,
    .reference-modal-body {
        padding: 1.5rem;
    }

    .reference-modal-title {
        font-size: 1.5rem;
    }
}

.referans-product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.referans-code-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.referans-product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.referans-product-card .card-body {
    padding: 25px;
    background: white;
}

.referans-product-card .card-title {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.referans-product-card .card-text {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.referans-product-card .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.referans-product-card .form-control {
    border: 2px solid #e2e8f0;
    border-right: none;
    background: #f8fafc;
    color: #2d3748;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 1px;
}

.referans-product-card .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: none;
    background: white;
}

.btn-referral-copy {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-active) 100%);
    border: 2px solid var(--bs-primary);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-left: none;
}

.btn-referral-copy:hover {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-active) 100%);
    color: white;
    transform: translateX(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-referral-copy:active {
    transform: translateX(0);
}

.btn-referral-copy.copied {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-color: #48bb78;
}

.referans-product-card .card-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    padding: 20px 25px;
}

.referral-price {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animasyon için */
@keyframes copySuccess {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

.copy-success {
    animation: copySuccess 0.5s ease;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .referans-code-badge {
        top: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .referans-product-card .card-body {
        padding: 20px;
    }

    .btn-referral-copy {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

.ql-toolbar.ql-snow {
    background: #F9F9F9 !important;
}

/* ============================================
   FLOATING NOTIFICATION BUTTON & PANEL STYLES
   ============================================ */

/* Floating OCR Button */
.floating-ocr-btn {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17c653 0%, #0f9d46 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(23, 198, 83, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    color: white;
    text-decoration: none;
    animation: fadeInUp 0.5s ease-in-out 0.2s both;
}

.floating-ocr-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(23, 198, 83, 0.5);
    color: white;
    text-decoration: none;
}

.floating-ocr-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.floating-ocr-btn i {
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.floating-ocr-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Dark Theme */
[data-bs-theme=dark] .floating-ocr-btn {
    box-shadow: 0 4px 15px rgba(23, 198, 83, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-ocr-btn {
        bottom: 140px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .floating-ocr-btn i {
        font-size: 20px;
    }
}

/* Floating Notification Button */
.floating-notification-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    animation: fadeInUp 0.5s ease-in-out;
}

.floating-notification-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.floating-notification-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.floating-notification-btn.active {
    background: var(--bs-danger);
    animation: pulse 1.5s infinite;
}

.floating-notification-btn i {
    color: #ffffff;
    font-size: 28px;
    transition: all 0.3s ease;
}

.floating-notification-btn:hover i {
    transform: rotate(15deg);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 24px;
    height: 24px;
    background: var(--bs-danger);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    padding: 0 6px;
    box-shadow: 0 2px 10px rgba(245, 87, 108, 0.5);
    border: 2px solid #ffffff;
    animation: bounceIn 0.6s ease-in-out;
}

/* Notification Panel */
.notification-panel {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 400px;
    max-width: calc(100vw - 60px);
    max-height: 600px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-panel.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Panel Header */
.notification-panel-header {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), var(--bs-primary) 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1), var(--bs-primary) 25%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-panel-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.close-notification-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-notification-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.close-notification-btn i {
    color: #ffffff;
    font-size: 20px;
}

/* Panel Content */
.notification-panel-content {
    background: #ffffff;
}

.notification-panel .nav-link {
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.notification-panel .nav-link.active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
}

.notification-panel .nav-link:hover {
    color: var(--bs-primary);
}

/* Scrollbar Styling */
.notification-panel .scroll-y::-webkit-scrollbar {
    width: 6px;
}

.notification-panel .scroll-y::-webkit-scrollbar-track {
    background: #f1f1f4;
    border-radius: 10px;
}

.notification-panel .scroll-y::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-active) 100%);
    border-radius: 10px;
}

.notification-panel .scroll-y::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--bs-primary-active) 0%, var(--bs-primary) 100%);
}

/* Dark Theme Uyumluluğu */
[data-bs-theme=dark] .notification-panel {
    background: #1e1e2f;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-bs-theme=dark] .notification-panel-content {
    background: #1e1e2f;
}

[data-bs-theme=dark] .notification-panel .nav-link {
    color: #a1a5b7;
}

[data-bs-theme=dark] .notification-panel .nav-link.active {
    color: var(--bs-primary);
}

[data-bs-theme=dark] .notification-panel .border-gray-200 {
    border-color: #2b2b40 !important;
}

[data-bs-theme=dark] .notification-panel .scroll-y::-webkit-scrollbar-track {
    background: #2b2b40;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

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

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(245, 87, 108, 0.4);
    }

    50% {
        box-shadow: 0 8px 40px rgba(245, 87, 108, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-notification-btn {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-notification-btn i {
        font-size: 24px;
    }

    .notification-panel {
        bottom: 140px;
        right: 20px;
        width: calc(100vw - 40px);
    }

    .notification-badge {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* Chatwoot Widget ile birlikte kullanıldığında */
.woot-widget-bubble {
    bottom: 20px !important;
}

/* Notification Item Styling */
.notification-panel .py-3 {
    transition: background-color 0.2s ease;
}

.notification-panel .py-3:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

[data-bs-theme=dark] .notification-panel .py-3:hover {
    background-color: rgba(102, 126, 234, 0.1);
}


/* Bubble launcher'ın kendisi */
.woot-widget-bubble {
    background-color: var(--bs-primary) !important;
}

/* Bubble içindeki icon */
.woot-widget-bubble.woot-elements--right {
    background: var(--bs-primary) !important;
}

/* Hover durumu */
.woot-widget-bubble:hover {
    background-color: var(--bs-info) !important;
    transform: scale(1.1);
}

/* Expanded bubble header */
.woot--bubble-holder .woot-widget-holder {
    /* Header rengi */
    background-color: var(--bs-primary) !important;
}

/* Modern Minimal Color Chips */
.color-chip {
    position: relative;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chip-color {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.chip-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-chip:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.color-chip:hover .chip-color {
    transform: scale(1.1);
}

.color-chip.active {
    box-shadow: 0 0 0 3px var(--bs-primary), 0 8px 20px rgba(var(--bs-primary-rgb), 0.3);
    transform: translateY(-2px);
}

.color-chip.active .chip-check {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.color-chip:active {
    transform: translateY(0) scale(0.95);
}

/* Separator */
.separator {
    height: 1px;
    background: var(--bs-border-color);
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .color-chip {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .color-chip:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .color-chip.active {
    box-shadow: 0 0 0 3px var(--bs-primary), 0 8px 20px rgba(var(--bs-primary-rgb), 0.4);
}

/* Mini Color Chips for Header Menu */
.color-chip-mini {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.color-chip-mini .chip-color {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.color-chip-mini .chip-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-chip-mini .chip-check i {
    font-size: 10px !important;
}

.color-chip-mini:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-chip-mini:hover .chip-color {
    transform: scale(1.05);
}

.color-chip-mini.active {
    box-shadow: 0 0 0 2px var(--bs-primary), 0 4px 12px rgba(var(--bs-primary-rgb), 0.4);
    transform: translateY(-1px);
}

[data-bs-theme="dark"] .color-chip-mini {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .color-chip-mini:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .color-chip-mini.active {
    box-shadow: 0 0 0 2px var(--bs-primary), 0 4px 12px rgba(var(--bs-primary-rgb), 0.5);
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* ========================================
   MENU SEARCH STYLES
   ======================================== */
.menu-search-wrapper {
    position: relative;
}

.menu-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bs-body-bg);
    border-radius: 0.475rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.menu-search-results.show {
    display: block;
}

.menu-search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--bs-gray-200);
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.menu-search-result-item:hover {
    background: var(--bs-gray-100);
}

.menu-search-result-item:last-child {
    border-bottom: none;
}

.menu-search-result-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-light-primary);
    border-radius: 0.475rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.menu-search-result-text {
    flex: 1;
    min-width: 0;
}

.menu-search-result-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--bs-gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-search-result-category {
    font-size: 11px;
    color: var(--bs-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--bs-gray-500);
    font-size: 13px;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .menu-search-results {
    background: var(--bs-gray-900);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .menu-search-result-item:hover {
    background: var(--bs-gray-800);
}

[data-bs-theme="dark"] .menu-search-result-icon {
    background: rgba(var(--bs-primary-rgb), 0.2);
}

/* Scrollbar styling */
.menu-search-results::-webkit-scrollbar {
    width: 6px;
}

.menu-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.menu-search-results::-webkit-scrollbar-thumb {
    background: var(--bs-gray-300);
    border-radius: 3px;
}

.menu-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--bs-gray-400);
}

/* Aside Custom */

.aside-action-btn {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(148, 163, 184, 0.18);
    transition: all 0.2s ease;
}

.aside-action-btn:hover {
    box-shadow: 5px rgba(15, 23, 42, 0.14);
    background: #f8f9fa;
}

.aside-action-btn:active {
    transform: scale(0.97);
}

.aside-action-btn i {
    transition: transform 0.2s ease-in-out;
    font-size: 24px !important;
}

.aside-action-btn:hover i {
    transform: scale(1.05);
}

/* İkon renklerini biraz daha net göstermek için */
.aside-action-btn.text-primary i,
.aside-action-btn.text-danger i,
.aside-action-btn.text-warning i,
.aside-action-btn.text-info i,
.aside-action-btn.text-secondary i {
    color: currentColor !important;
}

/* Mobilde biraz daha kompakt */
@media (max-width: 991.98px) {
    .aside-action-btn {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }
}

/* Reply Preview Area */
.premium-reply-preview-area {
    background: #f8f9fa;
    border-left: 4px solid var(--bs-primary);
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: premiumSlideDown 0.2s ease-out;
}

[data-bs-theme="dark"] .premium-reply-preview-area {
    background: #2b2b40;
}

.reply-details {
    flex: 1;
    min-width: 0;
}

@keyframes premiumSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.premium-msg-quote {
    background: rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--bs-primary);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.premium-msg-mine .premium-msg-quote {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: #fff;
}

.premium-msg-quote-sender {
    display: block;
    font-weight: bold;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.premium-msg-quote-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}

/* Reply Button inside Message */
.premium-msg-reply-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
    z-index: 10;
    color: inherit;
    padding: 0;
}

.premium-msg-bubble:hover .premium-msg-reply-btn {
    opacity: 0.6;
}

.premium-msg-reply-btn:hover {
    opacity: 1 !important;
    color: var(--bs-primary);
}

.premium-msg-mine .premium-msg-reply-btn:hover {
    color: #fff;
}

/* Reply Indicator */
.reply-indicator {
    width: 4px;
    height: 32px;
    background: var(--bs-primary);
    border-radius: 4px;
}

/* Cancel Reply Button */
.cancel-reply-btn {
    padding: 4px !important;
    width: 24px !important;
    height: 24px !important;
}

.cancel-reply-btn:hover {
    color: #ef4444;
    background: transparent !important;
}

#chat-messages {
    padding-bottom: 20px;
}

/* ========================================
   NOTIFICATION TICKER STYLES
   ======================================== */
.notification-ticker {
    position: fixed;
    top: 12px;
    right: 140px;
    width: 360px;
    max-width: calc(100vw - 160px);
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    z-index: 9999;
    animation: tickerSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Header içindeki yer tutucu için özel ayarlar */
#notificationTickerPlaceholder {
    position: relative;
    display: flex;
    align-items: center;
}

#notificationTickerPlaceholder .notification-ticker {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    white-space: nowrap;
}

@keyframes tickerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

#notificationTickerPlaceholder .notification-ticker {
    animation: tickerSlideInHeader 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes tickerSlideInHeader {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

[data-bs-theme="dark"] .notification-ticker {
    background: #1e1e2d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: #2b2b40;
}

.ticker-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.ticker-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f1416c;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

[data-bs-theme="dark"] .ticker-badge {
    border-color: #1e1e2d;
}

.ticker-content-wrapper {
    flex: 1;
    min-width: 0;
    margin-right: 10px;
}

.ticker-content {
    transition: opacity 0.2s ease;
}

.ticker-content.fade-out {
    opacity: 0;
}

.ticker-content.fade-in {
    opacity: 1;
}

.ticker-title {
    font-weight: 700;
    font-size: 13px;
    color: #181c32;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-bs-theme="dark"] .ticker-title {
    color: #ffffff;
}

.ticker-message {
    font-size: 12px;
    color: #7e8299;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-actions {
    display: flex;
    gap: 8px;
}

.ticker-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #f5f8fa;
    color: #7e8299;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

[data-bs-theme="dark"] .ticker-btn {
    background: #2b2b40;
}

.ticker-btn:hover {
    background: var(--bs-primary);
    color: #ffffff;
}

@keyframes tickerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

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

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

    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .notification-ticker {
        top: 20px;
        right: 20px;
        left: 20px;
        width: auto;
    }
}

/* Chat Emoji Popover */
.chat-emoji-popover {
    position: absolute;
    bottom: 75px;
    right: 20px;
    width: 260px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1090;
}
[data-bs-theme="dark"] .chat-emoji-popover {
    background: #1e1e2d;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.emoji-popover-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    max-height: 180px;
    overflow-y: auto;
    text-align: center;
}
.emoji-popover-grid span {
    font-size: 1.35rem;
    padding: 4px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s ease, transform 0.15s ease;
    user-select: none;
}
.emoji-popover-grid span:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.2);
}
[data-bs-theme="dark"] .emoji-popover-grid span:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Message Quick Reaction Bar & Reaction Pills */
.premium-reaction-bar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    position: absolute;
    /* Position below the bubble bottom, aligned to right for mine, left for theirs */
    bottom: -30px;
    right: 8px;
    z-index: 20;
    /* Hidden by default, shown on hover */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}
/* For messages from others (theirs), anchor to left */
.premium-msg-theirs .premium-reaction-bar {
    right: auto;
    left: 8px;
}
.premium-msg-bubble:hover .premium-reaction-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

[data-bs-theme="dark"] .premium-reaction-bar {
    background: #2b2b40;
    border-color: rgba(255, 255, 255, 0.1);
}
.premium-reaction-bar span {
    font-size: 1.1rem;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 50%;
    transition: transform 0.15s ease;
}
.premium-reaction-bar span:hover {
    transform: scale(1.3);
}

.premium-msg-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.premium-reaction-pill {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1px 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.premium-reaction-pill.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: #2563eb;
}
[data-bs-theme="dark"] .premium-reaction-pill {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ddd;
}
[data-bs-theme="dark"] .premium-reaction-pill.active {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    color: #60a5fa;
}

/* Group select mode – custom checkbox */
.new-chat-user-item.group-select-mode {
    cursor: pointer;
    user-select: none;
}
/* The check span acts as a custom checkbox */
.group-select-check {
    display: none;          /* Hidden when not in group mode */
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #c5c5d2;
    background: transparent;
    flex-shrink: 0;
    transition: all 0.15s ease;
    position: relative;
}
.group-select-check::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    position: absolute;
    top: 3px;
    left: 6px;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}
.new-chat-user-item.group-select-mode .group-select-check {
    display: flex;     /* Visible in group mode */
    align-items: center;
    justify-content: center;
    margin-left: auto;
}
.new-chat-user-item.group-select-mode.selected-for-group .group-select-check {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}
.new-chat-user-item.group-select-mode.selected-for-group .group-select-check::after {
    transform: rotate(45deg) scale(1);
}
.new-chat-user-item.selected-for-group {
    background: rgba(94, 114, 228, 0.07);
    border-radius: 10px;
}
[data-bs-theme="dark"] .group-select-check {
    border-color: #555;
}
[data-bs-theme="dark"] .new-chat-user-item.selected-for-group {
    background: rgba(94, 114, 228, 0.15);
}
/* ==========================================================================
   ÜTS Bildirim Merkezi (UTS Notification Center) Styles
   ========================================================================== */

.uts-hero-banner {
    background: var(--bs-light-primary, rgba(var(--bs-primary-rgb), 0.05));
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    border-radius: 0.85rem;
    position: relative;
    overflow: hidden;
}

.uts-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--bs-primary);
}

.uts-stat-card {
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--bs-border-color, #e2e8f0);
    border-radius: 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uts-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.uts-icon-avatar {
    width: 44px;
    height: 44px;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uts-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.35rem;
}

.uts-badge-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.uts-badge-pill-success {
    background-color: rgba(var(--bs-success-rgb, 80, 205, 137), 0.12);
    color: var(--bs-success, #50cd89);
    border: 1px solid rgba(var(--bs-success-rgb, 80, 205, 137), 0.25);
}

.uts-badge-pill-danger {
    background-color: rgba(var(--bs-danger-rgb, 241, 65, 108), 0.12);
    color: var(--bs-danger, #f1416c);
    border: 1px solid rgba(var(--bs-danger-rgb, 241, 65, 108), 0.25);
}

.uts-badge-pill-warning {
    background-color: rgba(var(--bs-warning-rgb, 255, 199, 0), 0.12);
    color: var(--bs-warning, #ffc700);
    border: 1px solid rgba(var(--bs-warning-rgb, 255, 199, 0), 0.3);
}

.uts-badge-pill-info {
    background-color: rgba(var(--bs-info-rgb, 114, 57, 234), 0.12);
    color: var(--bs-info, #7239ea);
    border: 1px solid rgba(var(--bs-info-rgb, 114, 57, 234), 0.25);
}

.uts-badge-pill-primary {
    background-color: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.25);
}

