/* General Styling */
.sticky-ad-settings-page {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    padding: 20px;
    border-radius: 8px;
}

.sticky-ad-title {
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: center;
    margin-bottom: 20px !important;
    color: white;
    background: linear-gradient(1deg, #0073aa, #000000);
    padding: 15px !important;
    border-radius: 6px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
}

/* Form Styling */
.sticky-ad-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Sections - More Defined */
.settings-section {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
}

/* Section Titles */
.sticky-ad-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding: 10px;
    background: #eef3f8;
    border-radius: 6px;
    display: inline-block;
    border-left: 4px solid #0073aa;
}

/* Table Styling */
.form-table {
    width: 100%;
    border-spacing: 0;
}

.sticky-ad-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #dddddd8a;
}

/* Labels */
.sticky-ad-label {
    font-weight: bold;
    width: 250px;
    min-width: 250px;
    color: #333;
}

/* Input Fields */
.sticky-ad-textarea, 
.sticky-ad-timepicker, 
.sticky-ad-number, 
.sticky-ad-select, 
.sticky-ad-color-picker,
.sticky-ad-textbox {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.2s;
    width: 100%;
    background: #fafafa;
}

.sticky-ad-textarea:focus,
.sticky-ad-timepicker:focus,
.sticky-ad-number:focus,
.sticky-ad-select:focus,
.sticky-ad-color-picker:focus,
.sticky-ad-textbox:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0px 0px 6px rgba(0, 115, 170, 0.3);
    background: white;
}

/* Checkbox */
.sticky-ad-checkbox {
    transform: scale(1.1);
    cursor: pointer;
    margin-left: 5px;
}

/* Descriptions */
.sticky-ad-description {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* Submit Button */
.sticky-ad-submit-section {
    text-align: center;
    margin-top: 20px;
}

.sticky-ad-submit-button {
    background: linear-gradient(135deg, #0073aa, #005e8c);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: bold;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.sticky-ad-submit-button:hover {
    background: linear-gradient(135deg, #005e8c, #003d5c);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}

/* Close Button Customization Section */
.sticky-ad-close-button-section {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05);
}

/* Upload Button */
.sticky-ad-upload-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.sticky-ad-upload-button:hover {
    background: #005e8c;
}

/* SVG Code Textarea */
.sticky-ad-textarea {
    width: 100%;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
}

/* Text Input */
.sticky-ad-textbox {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.2s;
}

.sticky-ad-textbox:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0px 0px 4px rgba(0, 115, 170, 0.2);
}

/* Full-Width Table Row */
td.width100 {
    width: 100% !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .sticky-ad-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
        gap: 8px;
    }

    .sticky-ad-label {
        width: 100%;
    }

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