/**
 * LC Kit Admin Styles
 */

.lc-kit-settings-container {
    max-width: 1200px;
    margin: 20px 0;
}

.lc-kit-section {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.lc-kit-section h2 {
    margin-top: 0;
    color: #23282d;
    font-size: 18px;
    font-weight: 600;
}

.lc-kit-section p {
    color: #666;
    margin-bottom: 20px;
}

.lc-kit-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.lc-kit-widget-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lc-kit-widget-item:hover {
    background: #f0f0f0;
    border-color: #0073aa;
}

.lc-kit-widget-name {
    margin-left: 10px;
    font-weight: 500;
    color: #333;
}

/* Toggle Switch Styles */
.lc-kit-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.lc-kit-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lc-kit-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.lc-kit-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .lc-kit-toggle-slider {
    background-color: #0073aa;
}

input:checked + .lc-kit-toggle-slider:before {
    transform: translateX(26px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .lc-kit-widgets-grid {
        grid-template-columns: 1fr;
    }
    
    .lc-kit-widget-item {
        flex-direction: column;
        text-align: center;
    }
    
    .lc-kit-widget-name {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Save Button Styling */
.wp-core-ui .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    text-shadow: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
}

.wp-core-ui .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

/* Notice Styling */
.lc-kit-notice {
    background: #fff;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.lc-kit-notice h3 {
    margin-top: 0;
    color: #0073aa;
}

/* Widget Status Indicators */
.lc-kit-widget-item.enabled {
    border-left: 4px solid #46b450;
}

.lc-kit-widget-item.disabled {
    border-left: 4px solid #dc3232;
    opacity: 0.7;
}

.lc-kit-widget-item.disabled .lc-kit-widget-name {
    color: #666;
} 