.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent,
#customize-theme-controls .customize-pane-child.current-section-parent {
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);
}

/* Nested Customizer Section CSS */
#customize-controls .control-section.control-section-pawfect_section .accordion-section-title {
	color: #555d66;
	background-color: #fff;
	border-bottom: 1px solid #ddd;
	border-left: 4px solid #fff;
	-webkit-transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
	transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out;
}

#customize-controls .control-section.control-section-pawfect_section .accordion-section-title:after {
	color: #a0a5aa;
}

#customize-controls .control-section.control-section-pawfect_section .accordion-section-title:hover,
#customize-controls .control-section.control-section-pawfect_section .accordion-section-title:focus {
	color: #0073aa;
	background: #f3f3f5;
	border-left-color: #0073aa;
}

#customize-controls .control-section.control-section-pawfect_section .accordion-section-title:hover:after {
	color: #0073aa;
}

#customize-controls .control-section-pawfect_section .accordion-section {
	margin-left: -12px;
	margin-right: -12px;
}

#customize-controls .customize-control-pawfect-editor .wp-editor-tools .wp-editor-container textarea {
	width: 100%;
}


#customize-controls h3 {
    font-size: 13px;
}

/* Tooltip Icon */
.pawfect-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}
.pawfect-tooltip-icon:hover {
    color: #0D9488;
}

/* Tooltip Popup */
.pawfect-tooltip-popup {
    position: absolute;
    bottom: 100%;
    right: 0;
    transform: translateY(-8px);
    width: 220px;
    background: #1e293b;
    color: #f8fafc;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100000;
    pointer-events: none;
    text-align: left;
}
.pawfect-tooltip-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}
.pawfect-tooltip-icon:hover .pawfect-tooltip-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-4px);
}
.pawfect-tooltip-popup .customize-control-description {
    display: block !important;
    color: #f8fafc !important;
    font-style: normal;
    margin: 0;
}

/* Global Compact Overrides for WP Customizer */
#customize-controls h3:not(.accordion-section-title),
#customize-controls h4 {
    font-size: 12px !important;
    margin-bottom: 8px;
}
#customize-controls .customize-control {
    margin-bottom: 14px;
}
#customize-controls .customize-control-title {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0;
}
#customize-controls input[type="text"],
#customize-controls input[type="number"],
#customize-controls select,
#customize-controls textarea {
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    box-shadow: none;
    height: auto;
    min-height: 28px;
    color: #334155;
}
#customize-controls input[type="text"]:focus,
#customize-controls select:focus {
    border-color: #0D9488;
    box-shadow: 0 0 0 1px #0D9488;
}

/* Make Section Headings Sleeker */
#customize-theme-controls .control-section .accordion-section-title {
    font-size: 12px;
    font-weight: 600;
}

/* Smaller Toggle Switch */
.customize-control-pawfect-toggle .switch {
    width: 28px !important;
    height: 14px !important;
    border-radius: 14px !important;
    top: 2px !important;
}
.customize-control-pawfect-toggle .switch::after {
    width: 14px !important;
    height: 14px !important;
    left: 0 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}
.customize-control-pawfect-toggle input:checked + .switch::after {
    left: 14px !important;
}
