/* Simple Sponsors Block Editor Styles */

.motoschool-sponsors-edit {
    padding: 40px 20px;
    background: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    min-height: 200px;
}

.motoschool-sponsors-edit .sponsors-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsors-grid-edit {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sponsor-item-edit {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sponsor-item-edit .components-base-control {
    margin-bottom: 12px;
}

.sponsor-item-edit .components-text-control__label {
    font-weight: 600;
    color: #2d3748;
}

.sponsor-item-edit .components-button.is-secondary {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.sponsor-preview {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f7fafc;
}

.sponsor-item-edit .components-button.is-destructive {
    margin-top: 12px;
    width: 100%;
}

/* Inspector Controls */
.components-panel__body-title {
    font-weight: 600;
}

.components-panel__body p {
    color: #4a5568;
    line-height: 1.5;
}

/* Block appender */
.motoschool-sponsors-edit .components-button.is-primary {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
    .sponsors-grid-edit {
        grid-template-columns: 1fr;
    }
    
    .motoschool-sponsors-edit {
        padding: 20px 10px;
    }
}