/* Drawer Backdrop Overlay */
.drawer-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.drawer-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Slide-Over Side Drawer Panel */
.drawer-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 440px !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}

.drawer-overlay.active + .drawer-panel,
.drawer-panel.active {
    transform: translateX(0) !important;
}

/* Drawer Header & Close Button */
.drawer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.drawer-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.drawer-close-btn {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: #64748b !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    transition: color 0.2s, background 0.2s !important;
}

.drawer-close-btn:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
}
