/**
 * Enhanced ACF Elementor Integration - Widget Styles
 * 
 * @package Enhanced_ACF_Elementor_Integration
 * @since 2.0.0
 */

/* ACF Repeater Wrapper */
.acf-repeater-wrapper {
    display: grid;
    width: 100%;
}

/* ACF Repeater Item */
.acf-repeater-item {
    position: relative;
    overflow: hidden;
}

/* Responsive Grid - Mobile First */
@media (max-width: 767px) {
    .acf-repeater-wrapper {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .acf-repeater-wrapper[style*="repeat(4"] ,
    .acf-repeater-wrapper[style*="repeat(5"] ,
    .acf-repeater-wrapper[style*="repeat(6"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Elementor Editor Alerts */
.elementor-alert {
    padding: 15px;
    margin: 10px 0;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.5;
}

.elementor-alert-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.elementor-alert-info {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.elementor-alert-error {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}
