{# Shared CSS for Wisebee settings forms (wizard and remote settings) #}
<style>
    /* Fieldsets */
    .wisebee-settings fieldset {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px 24px;
        margin-bottom: 20px;
        background: #fafafa;
    }
    .wisebee-settings fieldset legend {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        padding: 0 12px;
        background: #fafafa;
    }

    /* Form Rows */
    .wisebee-settings .setting-row {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 18px;
        padding-bottom: 18px;
        border-bottom: 1px solid #eee;
    }
    .wisebee-settings .setting-row:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .wisebee-settings .setting-row.checkbox-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    .wisebee-settings .setting-label {
        font-weight: 500;
        color: #333;
        font-size: 14px;
    }
    .wisebee-settings .setting-row.checkbox-row .setting-label {
        font-weight: 400;
    }
    .wisebee-settings .setting-input {
        width: 100%;
        max-width: 500px;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }
    .wisebee-settings .setting-input:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }
    .wisebee-settings .setting-input:disabled {
        background: #f5f5f5;
        color: #888;
    }
    .wisebee-settings .setting-help {
        font-size: 12px;
        color: #777;
        margin: 0;
        line-height: 1.4;
    }

    /* Checkbox Styling */
    .wisebee-settings .checkbox-wrapper {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding-top: 2px;
    }
    .wisebee-settings .checkbox-wrapper input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin: 0;
        cursor: pointer;
        accent-color: #3498db;
        flex-shrink: 0;
    }
    .wisebee-settings .checkbox-wrapper input[type="checkbox"]:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }
    .wisebee-settings .checkbox-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .wisebee-settings .checkbox-label {
        font-size: 14px;
        color: #333;
        cursor: pointer;
    }
    .wisebee-settings .checkbox-wrapper input[type="checkbox"]:disabled + .checkbox-content .checkbox-label {
        color: #888;
        cursor: not-allowed;
    }

    /* Color Picker */
    .wisebee-settings .color-input-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .wisebee-settings .color-input {
        width: 120px !important;
        font-family: monospace;
    }
    .wisebee-settings .color-preview {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        border: 1px solid #ddd;
    }

    /* File Upload */
    .wisebee-settings .file-upload-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .wisebee-settings .file-upload-row {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    .wisebee-settings .file-upload-wrapper input[type="file"] {
        font-size: 13px;
    }

    /* Buttons */
    .wisebee-settings .btn-primary {
        display: inline-block;
        padding: 12px 24px;
        background: #3498db;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        text-decoration: none;
    }
    .wisebee-settings .btn-primary:hover {
        background: #2980b9;
    }
    .wisebee-settings .btn-primary:disabled {
        background: #bdc3c7;
        cursor: not-allowed;
    }
    .wisebee-settings .btn-secondary {
        display: inline-block;
        padding: 10px 16px;
        background: #ecf0f1;
        color: #333;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s;
        text-decoration: none;
    }
    .wisebee-settings .btn-secondary:hover {
        background: #dfe6e9;
    }
    .wisebee-settings .btn-secondary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    /* Alert Boxes */
    .wisebee-settings .alert {
        padding: 14px 18px;
        border-radius: 6px;
        margin-bottom: 20px;
        font-size: 14px;
    }
    .wisebee-settings .alert-error {
        background: #fdf0ef;
        border: 1px solid #e6b0aa;
        color: #c0392b;
    }
    .wisebee-settings .alert-success {
        background: #eaf7ea;
        border: 1px solid #a3d9a3;
        color: #27ae60;
    }
    .wisebee-settings .alert-info {
        background: #e8f4fd;
        border: 1px solid #a8d4f0;
        color: #2980b9;
    }

    /* Actions Row */
    .wisebee-settings .actions-row {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        gap: 12px;
    }

    /* Logo Preview */
    .wisebee-settings .logo-preview {
        margin-top: 10px;
    }
    .wisebee-settings .logo-preview img {
        max-height: 60px;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 4px;
        background: #fff;
    }
</style>
