/* AI RSS Rewriter - Settings Page Styles */

/* Settings Grid Layout */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    align-items: start;
}

.settings-grid .content-section {
    margin: 0;
}

.settings-grid .card {
    margin: 0;
}

/* Preset Buttons */
.preset-btn {
    margin: 2px;
    font-size: 11px;
    padding: 4px 8px;
    height: auto;
    line-height: 1.2;
}

.interval-calculator {
    font-size: 14px;
}

#interval-display {
    font-weight: bold;
    color: #0073aa;
}

/* Limit Preset Buttons */
.limit-preset-btn {
    margin: 2px;
    font-size: 11px;
    padding: 4px 8px;
    height: auto;
    line-height: 1.2;
}

.disabled-section {
    opacity: 0.5;
    pointer-events: none;
}

/* Disabled Rows */
.disabled-row {
    opacity: 0.5;
}

/* AI Models Configuration */
.ai-models-config fieldset {
    background: #fafafa;
}

.ai-models-config legend {
    background: #fff;
    color: #0073aa;
}

/* Smart Processing Settings */
.smart-processing-settings .smart-option {
    display: none;
}

/* Budget Bar Styles */
.budget-bar {
    width: 100%;
    height: 20px;
    background: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.budget-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #FFC107 50%, #FF5722 80%, #F44336 100%);
    transition: width 0.3s ease;
}

.budget-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.budget-warning {
    text-align: center;
    font-weight: bold;
}

/* Image Optimization Settings */
.image-optimization-settings .image-option {
    display: none;
}

.image-optimization-settings fieldset {
    background: #fafafa;
}

.image-optimization-settings legend {
    background: #fff;
    color: #0073aa;
}

#bulk-optimize-result {
    margin-top: 10px;
}

/* Form Input Styling */
input[type="number"] {
    width: 100px;
}

input[type="range"] {
    width: 200px;
}

/* Status Indicators */
.status-enabled {
    color: var(--primary-color);
}

.status-disabled {
    color: var(--error-color);
}