
.simple-banner-admin {
    max-width: 1200px;
}

.sb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sb-header h1 {
    font-weight: 700;
    margin: 0;
}

.sb-intro {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0073aa;
    margin-bottom: 20px;
}

.sb-previews {
    margin-bottom: 30px;
}

.sb-note {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

.sb-banner-selector {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.sb-banner-selector h3 {
    margin-top: 0;
    color: #856404;
}

.sb-selector-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sb-settings-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sb-settings-section.pro {
    border-color: #ffc107;
    background: #fffbf0;
}

.sb-section-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb-section-header h3 {
    margin: 0;
    font-size: 18px;
}

.sb-section-content {
    padding: 20px;
}

.sb-mobile-alert {
    background: #fff2cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    color: #856404;
}

.sb-save-button {
    font-size: 16px !important;
    padding: 10px 30px !important;
    height: auto !important;
}

.sb-form-table {
    width: 100%;
}

.form-table th {
    vertical-align: top;
}

.form-table td {
    vertical-align: top;
}

.sb-field-description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.sb-field-description code {
    font-size: 12px;
    background: #f1f1f1;
    padding: 2px 4px;
    border-radius: 3px;
}

.sb-color-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-color-picker {
    height: 30px;
    width: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sb-textarea-large {
    width: 100%;
    height: 120px;
    font-family: monospace;
}

.sb-css-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.sb-css-section {
    display: flex;
    flex-direction: column;
}

.sb-css-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.sb-css-textarea {
    height: 100px;
    font-family: monospace;
    font-size: 12px;
}

/* Radio Button Styling */
.form-table fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form-table fieldset legend {
    display: none;
}

.form-table td fieldset label {
    z-index: 0;
    display: inline-block;
    margin: 0 8px 8px 0 !important;
    position: relative;
    cursor: pointer;
    background: #f1f1f1;
    border: 2px solid #ddd;
    border-radius: 6px;
    color: #555;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 8px;
    min-width: 80px;
    text-align: center;
}

.form-table input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-table fieldset label:has(input[type="radio"]:checked) {
    background: #0073aa;
    border-color: #005a87;
    color: white;
    box-shadow: 0 2px 4px rgba(0,115,170,0.3);
}

.form-table fieldset label:not(:has(input[type="radio"]:checked)):hover {
    background: #e8e8e8;
    border-color: #999;
}

.form-table fieldset label:has(input[type="radio"]:checked):hover {
    background: #005a87;
    border-color: #004a73;
}

.form-table fieldset label:has(input[type="radio"]:focus) {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .sb-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .sb-selector-controls {
        justify-content: center;
    }
    
    .sb-css-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust radio buttons for mobile */
    .form-table fieldset label {
        min-width: 70px !important;
        padding: 6px 12px !important;
        font-size: 14px !important;
    }
    
    /* Adjust sticky positioning for mobile */
    .sb-preview-sticky {
        left: 10px !important;
        right: 10px !important;
    }
}
