/* ============================================
   Dynamic Data Search — Admin UI Enhancement
   (Keeps Form-Table Structure)
=============================================== */

/* Page Wrapper */
.ddsp-wrap {
    background: #ffffff;
    padding: 35px 40px;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    font-family: "Inter", "Segoe UI", sans-serif;
}

/* Page Title */
.ddsp-wrap h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

/* Subtitle */
.ddsp-wrap .description {
    opacity: .7;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Section Title */
.ddsp-section-title {
    margin-top: 45px;
    padding-left: 12px;
    border-left: 4px solid #2271b1;
    font-size: 20px;
    font-weight: 600;
}

/* Card Wrapper for Tables */
.ddsp-table-card {
    background: #f9f9f9;
    border: 1px solid #e7e7e7;
    padding: 25px 25px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Enhance Form Table */
.ddsp-table th {
    width: 260px;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 10px;
}

.ddsp-table td {
    padding: 15px 10px;
}

/* Checkbox spacing inside table */
.ddsp-table td label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Color Picker Rows */
.ddsp-color-row th label {
    font-weight: 600;
}

.ddsp-color-row input[type=color] {
    width: 55px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.ddsp-description {
    margin-top: 5px;
    font-size: 12px;
    opacity: .7;
}

/* Radio Buttons */
.ddsp-table input[type=radio] {
    margin-right: 6px;
}

/* Save Button */
.ddsp-save-settings {
    background: #2271b1 !important;
    color: #fff !important;
    border-radius: 6px !important;
    border: none !important;
    padding: 8px 22px !important;
    font-size: 15px !important;
}

.ddsp-save-settings:hover {
    opacity: .85;
}

/* Make tables responsive */
@media (max-width: 768px) {
    .ddsp-table th {
        width: auto;
        display: block;
        margin-bottom: 3px;
    }
    .ddsp-table td {
        display: block;
        padding-left: 0;
    }
}

.ddsp_gutenberg_data p.description {
    margin: 0;
}

.form-wrap p, p.description {
    margin: 20px 0 5px;
}