/* ==========================================================
   DentiCare Custom Micro-Styling
   Designed for Medical Authority, Clean Aesthetics & Usability
   ========================================================== */

/* Font Base, Overflow Protection & Smooth Scroll */
html {
    scroll-behavior: smooth;
    overflow-x: clip !important;
    max-width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1E293B;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip !important;
    max-width: 100%;
    position: relative;
}

/* Custom Scrollbar - Only Vertical, Absolutely No Horizontal Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 0px;
}
::-webkit-scrollbar:horizontal {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}
::-webkit-scrollbar-track {
    background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Accordion Transition */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 500px;
    transition: max-height 0.4s ease-in, padding 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* Image Hover Zoom Restrained */
.zoom-container {
    overflow: hidden;
}
.zoom-container img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.zoom-container:hover img {
    transform: scale(1.03);
}

/* Lightbox Modal */
.modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Badge & Indicator */
.pulse-indicator {
    position: relative;
}
.pulse-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* ==========================================================
   Admin Collapsible Sidebar
   ========================================================== */
#adminSidebar {
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#adminSidebar.sidebar-collapsed {
    width: 4.75rem !important; /* ~76px */
}

#adminSidebar.sidebar-collapsed .sidebar-label {
    display: none !important;
}

#adminSidebar.sidebar-collapsed .sidebar-item-link {
    justify-content: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

#adminSidebar.sidebar-collapsed .sidebar-brand-text {
    display: none !important;
}

#adminSidebar.sidebar-collapsed .sidebar-header-box {
    justify-content: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

#adminSidebar.sidebar-collapsed .menu-manajemen-title {
    display: none !important;
}

#adminSidebar.sidebar-collapsed .menu-manajemen-center {
    justify-content: center !important;
}

#adminSidebar.sidebar-collapsed .sidebar-bottom-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: center !important;
}

#adminSidebar.sidebar-collapsed .sidebar-bottom-row a {
    justify-content: center !important;
    width: 100% !important;
    padding: 0.5rem !important;
}

#adminSidebar.sidebar-collapsed .sidebar-bottom-row button {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}



