/* Customizer Display Control Section Styling */

/* Container for two-column layout */
#accordion-section-obtain_display_control_section .accordion-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

/* Left column controls */
#customize-control-show_pricing,
#customize-control-show_buttons,
#customize-control-show_hero_buttons {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    grid-column: 1;
}

/* Right column controls */
#customize-control-show_service_buttons,
#customize-control-show_pricing_tables,
#customize-control-show_order_buttons {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border: 2px solid #007cba;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    grid-column: 2;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

/* Special styling for Service Buttons control */
#customize-control-show_service_buttons {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #1976d2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}

#customize-control-show_service_buttons::before {
    content: "⭐";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #333;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#customize-control-show_pricing:hover,
#customize-control-show_buttons:hover,
#customize-control-show_hero_buttons:hover {
    background: #e9ecef;
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
    transform: translateY(-2px);
}

#customize-control-show_service_buttons:hover,
#customize-control-show_pricing_tables:hover,
#customize-control-show_order_buttons:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #1976d2;
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.2);
    transform: translateY(-2px) scale(1.02);
}

#customize-control-show_service_buttons:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    border-color: #1565c0;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.25);
}

#customize-control-show_pricing .customize-control-title,
#customize-control-show_buttons .customize-control-title,
#customize-control-show_hero_buttons .customize-control-title,
#customize-control-show_service_buttons .customize-control-title,
#customize-control-show_pricing_tables .customize-control-title,
#customize-control-show_order_buttons .customize-control-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

#customize-control-show_pricing .description,
#customize-control-show_buttons .description,
#customize-control-show_hero_buttons .description,
#customize-control-show_service_buttons .description,
#customize-control-show_pricing_tables .description,
#customize-control-show_order_buttons .description {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 5px;
}

/* Checkbox styling */
#customize-control-show_pricing input[type="checkbox"],
#customize-control-show_buttons input[type="checkbox"],
#customize-control-show_hero_buttons input[type="checkbox"],
#customize-control-show_service_buttons input[type="checkbox"],
#customize-control-show_pricing_tables input[type="checkbox"],
#customize-control-show_order_buttons input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #007cba;
}

/* Section header styling */
#accordion-section-obtain_display_control_section .accordion-section-title {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    font-weight: 600;
}

#accordion-section-obtain_display_control_section .accordion-section-title:hover {
    background: linear-gradient(135deg, #005a87 0%, #004a6f 100%);
}

#accordion-section-obtain_display_control_section .accordion-section-title::before {
    content: "🎛️";
    margin-right: 8px;
    font-size: 16px;
}

/* Column headers for better organization */
#accordion-section-obtain_display_control_section .accordion-section-content::before {
    content: "";
    display: block;
    grid-column: 1 / -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #007cba, transparent);
    margin-bottom: 20px;
}

/* Left column label */
#accordion-section-obtain_display_control_section .accordion-section-content::after {
    content: "General Controls";
    display: block;
    grid-column: 1;
    font-weight: 600;
    color: #007cba;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-align: center;
    background: #e3f2fd;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid #007cba;
}

/* Right column label - using a different approach */
#accordion-section-obtain_display_control_section .accordion-section-content {
    position: relative;
}

#accordion-section-obtain_display_control_section .accordion-section-content::after {
    content: "Service & Product Controls";
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 600;
    color: #007cba;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e3f2fd;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid #007cba;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 782px) {
    /* Switch to single column on mobile */
    #accordion-section-obtain_display_control_section .accordion-section-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    /* Reset grid columns for mobile */
    #customize-control-show_pricing,
    #customize-control-show_buttons,
    #customize-control-show_hero_buttons,
    #customize-control-show_service_buttons,
    #customize-control-show_pricing_tables,
    #customize-control-show_order_buttons {
        grid-column: 1;
        padding: 12px;
        margin-bottom: 8px;
    }
    
    /* Hide column labels on mobile */
    #accordion-section-obtain_display_control_section .accordion-section-content::after {
        display: none;
    }
    
    /* Adjust star icon position on mobile */
    #customize-control-show_service_buttons::before {
        top: -6px;
        right: -6px;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    #customize-control-show_pricing .customize-control-title,
    #customize-control-show_buttons .customize-control-title,
    #customize-control-show_hero_buttons .customize-control-title,
    #customize-control-show_service_buttons .customize-control-title,
    #customize-control-show_pricing_tables .customize-control-title,
    #customize-control-show_order_buttons .customize-control-title {
        font-size: 14px;
    }
    
    #customize-control-show_pricing .description,
    #customize-control-show_buttons .description,
    #customize-control-show_hero_buttons .description,
    #customize-control-show_service_buttons .description,
    #customize-control-show_pricing_tables .description,
    #customize-control-show_order_buttons .description {
        font-size: 12px;
    }
}

/* Smooth transitions for all interactive elements */
#customize-control-show_pricing,
#customize-control-show_buttons,
#customize-control-show_hero_buttons,
#customize-control-show_service_buttons,
#customize-control-show_pricing_tables,
#customize-control-show_order_buttons {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
#customize-control-show_service_buttons:focus-within {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}
