/* Theme customizer panel enhancements */
.sidebar-themesettings.offcanvas {
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
}

.sidebar-themesettings .offcanvas-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    padding: 1.25rem 1.5rem;
}

.sidebar-themesettings .offcanvas-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.sidebar-themesettings .offcanvas-header p {
    font-size: 0.8125rem;
    opacity: 0.85;
    margin-bottom: 0;
}

.sidebar-themeoverlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sidebar-themeoverlay.open {
    opacity: 1;
    visibility: visible;
}

.sidebar-themesettings.offcanvas.show {
    z-index: 99999;
}

.themesettings-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.themesettings-content .sub-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.theme-direction-select .form-select {
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Circular swatches for topbar colors */
.theme-customizer-swatches.theme-colorsset label {
    width: 34px;
    height: 34px;
}

/* Sidebar solid — round swatches */
.theme-customizer-sidebar-solid.theme-sidebarcolor label {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.theme-customizer-sidebar-solid.theme-sidebarcolor label.bg-light-sidebar {
    background: #ffffff;
}

.theme-customizer-sidebar-solid.theme-sidebarcolor label.bg-gray-sidebar {
    background: #e5e7eb;
}

.theme-customizer-sidebar-solid.theme-sidebarcolor label.bg-dark-sidebar {
    background: #1f2937;
}

.theme-customizer-sidebar-solid.theme-sidebarcolor label.bg-black-sidebar {
    background: #0f172a;
}

.theme-customizer-sidebar-solid.theme-sidebarcolor label.bg-blue-sidebar {
    background: #2563eb;
}

.theme-customizer-sidebar-solid.theme-sidebarcolor label.bg-purple-sidebar {
    background: #7c3aed;
}

.theme-customizer-sidebar-solid.theme-sidebarcolor label.bg-teal-sidebar {
    background: #0d9488;
}

.sidebar-contact .toggle-theme {
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-contact .toggle-theme:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55);
}

.themecard-body {
    padding-bottom: 1.5rem;
}

.theme-customizer-actions .btn-reset-theme {
    border: 1px dashed #d1d5db;
    color: #374151;
    font-weight: 500;
}

.theme-customizer-actions .btn-reset-theme:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}
