/*
 * Align section headings (h2) with the form-table label column.
 * WP's default form-table puts ~10px padding on <th scope="row">, while
 * h2 sits flush with .wrap. Drop the th padding so every left-column item
 * — section titles AND row labels — starts at the same x-coordinate.
 */
.vaaky-settings-page #post-body-content .form-table > tbody > tr > th {
    padding-left: 0 !important;
}
.vaaky-settings-page #post-body-content > h2,
.vaaky-settings-page #post-body-content > h3 {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.vaaky-theme-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    max-width: 1000px;
}
.vaaky-theme-card {
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    overflow: hidden;
}
.vaaky-theme-card:hover {
    border-color: #999;
}
.vaaky-theme-card:has(input:checked) {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}
.vaaky-theme-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* iframe preview — clicks pass through to the surrounding <label> so the radio toggles */
.vaaky-theme-preview {
    display: block;
    width: 100%;
    height: 100px;
    border: 0;
    border-radius: 4px;
    background: #f0f0f0;
    pointer-events: none;
    overflow: hidden;
}

.vaaky-theme-label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}
