/* SEO Redirection v9.17 — Modal & Form Styles */

/* ── Bootstrap modal overrides ── */
.settings_page_seo-redirection .modal-content {
    background: var(--wpsr-bg, #fff);
    border: 1.5px solid var(--wpsr-border, #d1d9e6);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    overflow: hidden;
}
.settings_page_seo-redirection .modal-header {
    background: var(--wpsr-bg2, #f8fafc);
    border-bottom: 1.5px solid var(--wpsr-border, #d1d9e6);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.settings_page_seo-redirection .modal-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--wpsr-text, #111827) !important;
    margin: 0;
}
.settings_page_seo-redirection .modal-body {
    padding: 20px 18px;
    background: var(--wpsr-bg, #fff);
}
.settings_page_seo-redirection .modal-footer {
    background: var(--wpsr-bg2, #f8fafc);
    border-top: 1.5px solid var(--wpsr-border, #d1d9e6);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.settings_page_seo-redirection .close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1.5px solid var(--wpsr-border2, #b0bccc) !important;
    background: var(--wpsr-bg, #fff) !important;
    color: var(--wpsr-text2, #4b5563) !important;
    font-size: 16px !important;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    outline: none;
    transition: background .15s;
}
.settings_page_seo-redirection .close:hover {
    background: var(--wpsr-bg3, #eef2f7) !important;
    color: var(--wpsr-text, #111827) !important;
}

/* ── Form fields inside modal ── */
.settings_page_seo-redirection #redirect_from,
.settings_page_seo-redirection #redirect_to {
    width: 88% !important;
    margin-top: 6px !important;
    border: 1.5px solid var(--wpsr-border2, #b0bccc) !important;
    border-radius: 7px !important;
    padding: 7px 10px !important;
    font-size: 13px;
    height: auto !important;
    background: var(--wpsr-bg2, #f8fafc) !important;
    color: var(--wpsr-text, #111827) !important;
    transition: border-color .15s;
    outline: none;
}
.settings_page_seo-redirection #redirect_from:focus,
.settings_page_seo-redirection #redirect_to:focus {
    border-color: var(--wpsr-accent, #2563eb) !important;
    background: var(--wpsr-bg, #fff) !important;
}
.settings_page_seo-redirection #myform .cform select {
    height: 34px !important;
    border: 1.5px solid var(--wpsr-border2, #b0bccc);
    border-radius: 7px;
    padding: 4px 8px;
    font-size: 12.5px;
    background: var(--wpsr-bg2, #f8fafc);
    color: var(--wpsr-text, #111827);
}

/* ── Modal save / close buttons ── */
.settings_page_seo-redirection .modal-footer .btn-add {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
}
.settings_page_seo-redirection .modal-footer .btn-add:hover {
    background: #1d4ed8 !important;
}
.settings_page_seo-redirection .modal-footer .btn-delete {
    background: var(--wpsr-bg2, #f8fafc) !important;
    color: var(--wpsr-text2, #4b5563) !important;
    border: 1.5px solid var(--wpsr-border2, #b0bccc) !important;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
}
.settings_page_seo-redirection .modal-footer .btn-delete:hover {
    background: var(--wpsr-bg3, #eef2f7) !important;
}

/* ── Sweetalert placeholder ── */
.placeholder { background: transparent !important; border-color: #22c55e; }
