/* ==========================================================
   PY Dental - Visual Redesign Tokens & Micro-Styling
   Designed for Dental Care: Clean, Authentic, Modern Medical Authority
   Based on DESIGN.md
   ========================================================== */

:root {
    --color-primary: #812626;
    --color-primary-hover: #682020;
    --color-primary-soft: #F4EAEA;
    --color-background: #FFFFFF;
    --color-surface: #F5F3F1;
    --color-border: #D0D0D0;
    --color-text: #302B2B;
    --color-text-muted: #6B6262;
    --color-white: #FFFFFF;

    --radius-card: 16px;
    --radius-control: 10px;
    --radius-pill: 999px;

    --shadow-card: 0 6px 24px rgba(48, 43, 43, 0.06);
    --shadow-card-hover: 0 10px 28px rgba(48, 43, 43, 0.10);

    --space-section: 80px;
    --space-card: 24px;
    --transition-ui: 180ms ease;
}

/* 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: #302B2B;
    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;
}

/* Hilangkan tombol panah atas/bawah (spinner) pada input number */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* Hilangkan scrollbar horizontal pada slider/carousel */
.no-scrollbar::-webkit-scrollbar {
    display: none !important;
}
.no-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}




