/**
 * Sticky Floating Buttons - Complete Styles
 * Version: 1.0.0
 *
 * @package Sticky_Floating_Buttons
 * @author farasite
 */

/* =============================================
   ADMIN STYLES
   ============================================= */

/* --- Section Separator --- */
.sticky-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e5e5;
}

.sticky-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.sticky-section h2 {
    margin-bottom: 12px;
}

.sticky-section .description {
    color: #666;
    margin-top: -5px;
    margin-bottom: 20px;
}

/* --- Buttons List --- */
.sticky-buttons-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.sticky-no-buttons {
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin: 15px 0;
}

.sticky-no-buttons p {
    margin: 0;
    color: #666;
}

.sticky-add-button-wrapper {
    margin: 15px 0 20px;
}

.sticky-add-button-wrapper .button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    padding: 6px 22px;
    height: 36px;
    font-size: 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.sticky-add-button-wrapper .button-primary:hover {
    background: #135e96;
    border-color: #135e96;
}

.sticky-add-button-wrapper .button-primary .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* --- Status Toggle --- */
.sticky-status-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.sticky-status-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2271b1;
}

.sticky-status-label {
    font-size: 13px;
    font-weight: 500;
    user-select: none;
}

.sticky-status-label.active {
    color: #46b450;
}

.sticky-status-label.inactive {
    color: #dc3232;
}

/* --- Edit Form --- */
.sticky-edit-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 25px;
    margin-top: 20px;
}

.sticky-edit-form h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.sticky-button-fields-new {
    display: grid;
    grid-template-columns: 25% 25% 50%;
    gap: 12px;
}

.sticky-button-fields-new .sticky-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sticky-button-fields-new .sticky-field-group label {
    font-weight: 500;
    font-size: 13px;
    color: #555;
}

.sticky-button-fields-new .sticky-field-group input[type="text"] {
    width: 95.5%;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
    background: #fafafa;
}

.sticky-button-fields-new .sticky-field-group input[type="text"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
    background: #fff;
}

.sticky-required {
    color: #dc3232;
}

/* --- Icon + Colors --- */
.sticky-field-group-icon-colors {
    grid-column: 1 / -1;
}

.sticky-icon-colors-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.sticky-icon-section {
    flex: 1;
    min-width: 0;
}

.sticky-icon-section > label {
    display: block;
    font-weight: 500;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.sticky-icon-preview-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-icon-preview-box {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.sticky-icon-preview-box:hover {
    border-color: #2271b1;
    background: #f0f6ff;
}

.sticky-icon-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sticky-icon-preview-box .sticky-upload-placeholder {
    font-size: 18px;
    color: #aaa;
}

.sticky-icon-upload-wrapper {
    display: flex;
    flex: 1;
    gap: 8px;
    align-items: center;
}

.sticky-icon-upload-wrapper .sticky-icon-url {
    flex: 1;
    height: 35px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: #fafafa;
}

.sticky-icon-upload-wrapper .sticky-icon-url:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
    background: #fff;
}

.sticky-icon-dropdown {
    height: 35px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: #fafafa;
    color: #333;
    cursor: pointer;
    min-width: 120px;
    max-width: 150px;
    flex-shrink: 0;
}

.sticky-icon-dropdown:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
    background: #fff;
}

.sticky-colors-section {
    flex: 0 0 45%;
    min-width: 0;
}

.sticky-colors-section > label {
    display: block;
    font-weight: 500;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.sticky-colors-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    padding: 0 10px;
}

.sticky-color-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sticky-color-item span {
    font-size: 11px;
    color: #555;
    font-weight: 500;
}

.sticky-color-item input[type="color"] {
    width: 40px;
    height: 30px;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: #fafafa;
}

/* --- Page Messages --- */
.sticky-field-group-page-messages {
    grid-column: 1 / -1;
}

.sticky-page-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.sticky-page-row:last-child {
    border-bottom: none;
}

.sticky-device-checkboxes {
    display: flex;
    gap: 10px;
    flex: 0 0 210px;
    min-width: 210px;
}

/* Shared styles for both device and page checkbox items. */
.sticky-device-checkboxes .sticky-checkbox-item,
.sticky-page-checkbox .sticky-checkbox-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #444;
    cursor: pointer;
    padding: 2px 0;
}

.sticky-device-checkboxes .sticky-checkbox-item input[type="checkbox"],
.sticky-page-checkbox .sticky-checkbox-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #2271b1;
    margin: 0;
}

.sticky-device-checkboxes .sticky-checkbox-item span,
.sticky-page-checkbox .sticky-checkbox-item span {
    font-size: 12px;
    color: #555;
    user-select: none;
}

.sticky-page-checkbox {
    flex: 0 0 70px;
    min-width: 70px;
}

.sticky-page-checkbox .sticky-checkbox-item span {
    font-weight: 500;
}

.sticky-page-message {
    flex: 1;
    min-width: 0;
}

.sticky-page-message textarea {
    width: 100%;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    background: #fafafa;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    min-height: 28px;
    height: 28px;
    line-height: 1.4;
}

.sticky-page-message textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
    background: #fff;
}

.sticky-form-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.sticky-form-actions .button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    padding: 6px 22px;
    height: 36px;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
}

.sticky-form-actions .button-primary:hover {
    background: #135e96;
    border-color: #135e96;
}

/* --- General Settings --- */
.sticky-general-form .form-table th {
    width: 220px;
}

.sticky-general-form .form-table td input[type="text"].regular-text {
    width: 400px;
}

.sticky-general-form .form-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.sticky-general-form .form-table tr:last-child {
    border-bottom: none;
}

code {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    margin: 2px 4px;
}

/* =============================================
   SORTABLE STYLES
   ============================================= */

/* Sortable Handle */
.sticky-sortable-handle {
    cursor: grab;
    color: #888;
    font-size: 18px;
    display: inline-block;
    padding: 4px 6px;
    user-select: none;
    transition: all 0.2s ease;
    background: #f5f5f5;
    border-radius: 4px;
    line-height: 1;
}

.sticky-sortable-handle:hover {
    color: #2271b1;
    background: #e8f0fe;
}

.sticky-sortable-handle:active {
    cursor: grabbing;
}

.sticky-sortable-handle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Placeholder */
.sticky-sortable-row.sortable-placeholder {
    background: #f0f6ff !important;
    border: 2px dashed #2271b1 !important;
    height: 55px !important;
    opacity: 0.6;
    border-radius: 6px;
}

.sticky-sortable-row.sortable-placeholder td {
    padding: 0 !important;
}

/* Helper (dragging item) */
.sticky-sortable-row.ui-sortable-helper {
    background: #ffffff !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    transform: scale(1.02);
    z-index: 999999 !important;
}

.sticky-sortable-row.ui-sortable-helper td {
    border: none !important;
    padding: 10px 12px !important;
}

.sticky-sortable-row.ui-sortable-helper .sticky-sortable-handle {
    cursor: grabbing;
    background: #2271b1;
    color: #fff;
}

/* Table row hover */
#sticky-sortable-table tbody tr {
    transition: background 0.2s ease;
    cursor: default;
}

#sticky-sortable-table tbody tr:hover {
    background: #fafafa;
}

/* Sort Status Message */
.sticky-sort-status {
    display: none;
    padding: 10px 16px;
    margin: 10px 0 15px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
}

.sticky-sort-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sticky-sort-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.sticky-sort-status.info {
    display: block;
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.sticky-sort-status.fade-out {
    animation: stickyFadeOut 3s forwards;
}

@keyframes stickyFadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

/* =============================================
   FRONTEND STYLES - DROP-UP MENU
   ============================================= */

/* --- Container --- */
.sticky-dropup-container {
    position: fixed;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 15px;
    pointer-events: none;
}

/* --- Overlay --- */
.sticky-dropup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    background: transparent;
    display: none;
    pointer-events: none;
}

.sticky-dropup-container.active .sticky-dropup-overlay {
    display: block;
    pointer-events: auto;
}

/* --- Drop-Up Items Wrapper --- */
.sticky-dropup-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease,
                margin 0.3s ease;
    pointer-events: none;
    width: 100%;
}

.sticky-dropup-container.active .sticky-dropup-items {
    max-height: 600px;
    opacity: 1;
    margin-bottom: 10px;
    pointer-events: auto;
    padding-top: 2px;
}

/* --- Two-Part Button Design with Gap --- */
.sticky-btn-wrapper {
    display: flex;
    align-items: center;
    width: 160px;
    height: 40px;
    padding: 4px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease;
    direction: ltr;
    flex-shrink: 0;
    box-sizing: border-box;
    gap: 4px;
}

.sticky-btn-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sticky-btn-wrapper:active {
    transform: scale(0.97);
}

/* --- Icon Box (Circle) --- */
.sticky-btn-icon-box {
    width: 32px;
    height: 32px;
    background-color: #f0f0f3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.sticky-btn-icon-box img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.sticky-btn-icon-box .sticky-btn-icon-emoji {
    font-size: 18px;
    line-height: 1;
}

/* --- Text Box --- */
.sticky-btn-text-box {
    flex-grow: 1;
    height: 100%;
    background-color: #f0f0f3;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    transition: background-color 0.3s ease;
}

/* --- Label Text Styles (Inherits font from WordPress theme) --- */
.sticky-btn-text-box span {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-transform: uppercase;
    display: block;
    text-align: center;
    line-height: 1.2;
    /* font-family is inherited from the active theme */
}

/* --- Drop-Up Items --- */
.sticky-dropup-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    height: auto;
    min-height: auto;
    width: 160px;
    background: transparent;
    border-radius: 0;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    box-shadow: none;
    transition: all 0.25s ease;
    transform: translateY(-5px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    box-sizing: border-box;
    z-index: 99999;
}

.sticky-dropup-container.active .sticky-dropup-item {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* --- Staggered Animation Delay --- */
.sticky-dropup-container.active .sticky-dropup-item:nth-child(1) { transition-delay: 0.05s; }
.sticky-dropup-container.active .sticky-dropup-item:nth-child(2) { transition-delay: 0.10s; }
.sticky-dropup-container.active .sticky-dropup-item:nth-child(3) { transition-delay: 0.15s; }
.sticky-dropup-container.active .sticky-dropup-item:nth-child(4) { transition-delay: 0.20s; }
.sticky-dropup-container.active .sticky-dropup-item:nth-child(5) { transition-delay: 0.25s; }
.sticky-dropup-container.active .sticky-dropup-item:nth-child(6) { transition-delay: 0.30s; }

/* --- Main Toggle Button --- */
.sticky-dropup-toggle {
    display: flex;
    align-items: center;
    width: 160px;
    height: 40px;
    padding: 4px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease;
    direction: ltr;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    box-sizing: border-box;
    flex-shrink: 0;
    z-index: 99999;
    gap: 4px;
    font-family: inherit;
}

.sticky-dropup-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sticky-dropup-toggle:active {
    transform: scale(0.97);
}

.sticky-dropup-toggle .sticky-btn-icon-box {
    background-color: rgba(255, 255, 255, 0.7);
}

.sticky-dropup-toggle .sticky-btn-text-box {
    background-color: rgba(255, 255, 255, 0.7);
}

/* --- Single Button Mode --- */
.sticky-dropup-container.single-mode .sticky-dropup-items {
    display: none !important;
}

.sticky-dropup-container.single-mode .sticky-dropup-toggle {
    pointer-events: auto;
    opacity: 1 !important;
    transform: none !important;
    cursor: pointer;
}

.sticky-dropup-container.single-mode .sticky-dropup-toggle:hover {
    transform: translateY(-2px) !important;
}

.sticky-dropup-container.single-mode .sticky-dropup-overlay {
    display: none !important;
}

.sticky-dropup-container.single-mode .sticky-btn-wrapper {
    width: 160px;
}

/* --- Disabled/Inactive State --- */
.sticky-dropup-toggle.disabled {
    opacity: 0.6;
}

/* =============================================
   QUICK GUIDE - ACCORDION & VARIABLES STYLES
   ============================================= */

/* --- Wrapper --- */
.sticky-guide-wrapper {
    margin-bottom: 25px;
}

/* --- Accordion Details --- */
.sticky-guide-details {
    background: #f0f6ff;
    border: 1px solid #d7e3f5;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.sticky-guide-details:last-child {
    margin-bottom: 0;
}

.sticky-guide-details:hover {
    border-color: #2271b1;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.1);
}

/* --- Summary --- */
.sticky-guide-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 15px;
    color: #1d2327;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
    border-radius: 8px;
}

.sticky-guide-summary::-webkit-details-marker {
    display: none;
}

.sticky-guide-summary:hover {
    background: rgba(34, 113, 177, 0.05);
}

.sticky-guide-summary .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #2271b1;
}

.sticky-guide-toggle {
    margin-left: auto;
    font-size: 12px;
    color: #2271b1;
    transition: transform 0.3s ease;
}

.sticky-guide-details[open] .sticky-guide-toggle {
    transform: rotate(180deg);
}

/* --- Content --- */
.sticky-guide-content {
    padding: 0 20px 18px 20px;
    animation: stickyGuideFadeIn 0.3s ease;
}

@keyframes stickyGuideFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-guide-content ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.sticky-guide-content ul li {
    margin: 6px 0;
    line-height: 1.6;
    font-size: 13px;
    color: #3c434a;
}

.sticky-guide-content ul li strong {
    color: #1d2327;
}

/* --- Guide Description --- */
.sticky-guide-desc {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* --- Variables Table --- */
.sticky-variables-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.sticky-var-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    transition: border-color 0.2s ease;
}

.sticky-var-item:hover {
    border-color: #2271b1;
}

.sticky-var-item code {
    min-width: 110px;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #2271b1;
    font-family: 'Courier New', monospace;
}

.sticky-var-desc {
    font-size: 13px;
    color: #555;
}

/* --- Example --- */
.sticky-var-example {
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    margin: 12px 0;
}

.sticky-var-example strong {
    display: block;
    margin-bottom: 6px;
    color: #1d2327;
    font-size: 13px;
}

.sticky-var-example code {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-block;
    font-family: 'Courier New', monospace;
    color: #333;
}

.sticky-var-example-result {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #555;
}

.sticky-var-example-result em {
    color: #2271b1;
    font-style: normal;
    font-weight: 500;
}

/* --- Note --- */
.sticky-var-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    background: #fcf9e8;
    border-radius: 6px;
    border-left: 3px solid #f0b849;
    margin-top: 12px;
    font-size: 13px;
    color: #555;
}

.sticky-var-note .dashicons {
    color: #f0b849;
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

/* --- Common Status & Drag Icon --- */
.sticky-active {
    color: #46b450;
    font-weight: 600;
}

.sticky-drag-icon {
    display: inline-block;
    background: #f0f0f0;
    padding: 0 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

/* =============================================
   RESPONSIVE STYLES (Admin + Frontend)
   ============================================= */

/* --- Mobile --- */
@media (max-width: 600px) {
    .sticky-button-fields-new {
        grid-template-columns: 1fr;
    }
    
    .sticky-icon-colors-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .sticky-colors-section {
        flex: 1;
    }
    
    .sticky-icon-dropdown {
        min-width: 80px;
        max-width: 120px;
        font-size: 12px;
    }
    
    .sticky-page-row {
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px 0;
    }
    
    .sticky-device-checkboxes {
        flex: none;
        min-width: unset;
        width: 100%;
        gap: 15px;
    }
    
    .sticky-page-checkbox {
        flex: none;
        min-width: unset;
    }
    
    .sticky-page-message {
        flex: 1 1 100%;
    }
    
    .sticky-status-toggle {
        flex-wrap: wrap;
    }
    
    .wp-list-table td {
        font-size: 12px;
    }
    
    .sticky-general-form .form-table td input[type="text"].regular-text {
        width: 100%;
    }
    
    .sticky-general-form .form-table td div[style*="display: flex"] {
        flex-direction: column;
        gap: 10px !important;
        align-items: stretch !important;
    }
    
    .sticky-general-form .form-table td div[style*="display: flex"] > div {
        width: 100%;
    }
    
    .sticky-general-form .form-table td div[style*="display: flex"] input.small-text {
        width: 100%;
        max-width: 150px;
    }
    
    .sticky-sortable-handle {
        font-size: 14px;
        padding: 2px 4px;
    }
    
    /* Quick Guide Accordion Mobile */
    .sticky-guide-summary {
        font-size: 13px;
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .sticky-guide-summary .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .sticky-guide-toggle {
        font-size: 10px;
    }

    .sticky-guide-content {
        padding: 0 16px 14px 16px;
    }

    .sticky-guide-content ul {
        padding-left: 16px;
    }

    .sticky-guide-content ul li {
        font-size: 12px;
        margin: 4px 0;
    }

    .sticky-var-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 12px;
    }

    .sticky-var-item code {
        min-width: unset;
        width: 100%;
        font-size: 12px;
    }

    .sticky-var-desc {
        font-size: 12px;
    }

    .sticky-var-example code {
        font-size: 12px;
        word-break: break-all;
    }

    .sticky-var-note {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* Frontend Mobile */
    .sticky-dropup-container {
        padding: 10px;
        align-items: stretch;
    }
    
    .sticky-dropup-items {
        width: 100%;
        align-items: stretch;
    }
    
    .sticky-dropup-item {
        width: 100%;
    }
    
    .sticky-dropup-item .sticky-btn-wrapper {
        width: 100%;
    }
    
    .sticky-dropup-toggle {
        width: 100%;
    }
    
    .sticky-btn-wrapper {
        width: 100%;
    }
}

/* --- Tablet --- */
@media (min-width: 601px) and (max-width: 1024px) {
    .sticky-var-item {
        padding: 10px 14px;
    }

    .sticky-var-item code {
        min-width: 100px;
        font-size: 12px;
    }

    /* Frontend Tablet */
    .sticky-btn-wrapper {
        width: 160px;
        height: 40px;
    }
    
    .sticky-btn-icon-box {
        width: 32px;
        height: 32px;
    }
    
    .sticky-btn-icon-box img {
        width: 18px;
        height: 18px;
    }
    
    .sticky-btn-text-box span {
        font-size: 14px;
    }
    
    .sticky-dropup-toggle {
        width: 160px;
        height: 40px;
    }
}