:root {
    /* Primary Colors */
    --rankology-primary: #863BDF;
    --rankology-second-primary: #A96AEB;
    --rankology-primary-rgb: 134, 59, 223;
    --rankology-second-primary-rgb: 169, 106, 235;
    --rankology-accent: #0073aa;
    --rankology-white: #ffffff;
    --rankology-gray-white: #f9f9f9;
    --rankology-green-border: #198754;
    --rankology-green-color: #19875478;
    --rankology-red-border: #dc3545;
    --rankology-red-color: #dc354569;
    --rankology-yellow-border: #ffc107;
    --rankology-yellow-color: #ffc1074a;
    --rankology-button-hover: #3f3c95;

    /* Enhanced Color Palette */
    --rankology-success: #10b981;
    --rankology-success-light: #d1fae5;
    --rankology-success-dark: #047857;
    --rankology-error: #ef4444;
    --rankology-error-light: #fee2e2;
    --rankology-error-dark: #dc2626;
    --rankology-warning: #f59e0b;
    --rankology-warning-light: #fef3c7;
    --rankology-info: #3b82f6;
    --rankology-info-light: #dbeafe;

    /* Form Colors */
    --rankology-form-fields-focus-color: #3f3c95;
    --rankology-form-fields-bg-color: #f5f5f5;
    --rankology-form-fields-border-color: #cccccc;

    /* Background Colors */
    --rankology-bg-light: #f9f9fb;
    --rankology-bg-medium: #f7f8fc;
    --rankology-bg-white: #ffffff;
    --rankology-bg-gray-white: #F0EFEF;
    --rankology-bg-dark-gray: #ccc;
    --rankology-bg-tab-color: #f7f6fb;

    /* Border Colors */
    --rankology-border: #e5e7eb;
    --rankology-light-border: #f3f4f6;
    --rankology-border-light: #d1d5db;
    --rankology-border-color: #dcdfe4;

    /* Text Colors */
    --rankology-text-dark: #111827;
    --rankology-text-mdark: #545454;
    --rankology-text-medium: #6b7280;
    --rankology-text-light: #9ca3af;
    --rankology-link: #1a0dab;
    --rankology-text-color: #2c3338;
    --rankology-muted: #6c757d;

    /* Status Colors */
    --rankology-status-active: #10b981;
    --rankology-status-active-bg: #ecfdf5;
    --rankology-status-disabled: #b31717;
    --rankology-status-disabled-bg: #fef2f2;

    /* Shadows */
    --rankology-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --rankology-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --rankology-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rankology-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --rankology-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing */
    --rankology-space-xs: 0.25rem;
    --rankology-space-sm: 0.5rem;
    --rankology-space-md: 1rem;
    --rankology-space-lg: 1.5rem;
    --rankology-space-xl: 2rem;
    --rankology-space-2xl: 3rem;

    /* Border Radius */
    --rankology-radius-sm: 0.375rem;
    --rankology-radius: 0.5rem;
    --rankology-radius-md: 0.75rem;
    --rankology-radius-lg: 1rem;
    --rankology-radius-xl: 1.5rem;
}


/* ========== BASE STYLES ========== */
.rankology-container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 12px;
}

/* ========== TAB STYLES ========== */

/* Wrapper */
.rankology-tab-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    background: var(--rankology-white);
    padding: 8px 0;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Tabs menu container */
.rankology_tabs_options_menu {
    position: relative;
    flex: 1;
    overflow: hidden;
    padding: 15px 40px;
    background-color: var(--rankology-bg-light);
    border-radius: 12px;
}

/* Scrollable tab list */
.rankology-tab-menu {
    margin: 0;
    padding: 0 8px;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    scroll-behavior: smooth;

    gap: 14px;
    overflow: hidden;
}

.rankology-tab-menu::-webkit-scrollbar {
    display: none; /* hide scrollbar */
}

/* Icons inside tab */
.rankology-tab-menu i {
    font-size: 13px;
}

/* Left/Right scroll buttons - Hidden by default, shown via JS when tabs overflow */
#rankology-left-arrow,
#rankology-right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--rankology-second-primary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: none; /* Hidden by default - JS shows when tabs overflow */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: var(--rankology-white);
}

#rankology-left-arrow:hover,
#rankology-right-arrow:hover {
    background: var(--rankology-second-primary);
}

#rankology-left-arrow {
    left: 6px;
}

#rankology-right-arrow {
    right: 6px;
}

#wpfooter {
    position: inherit !important;
}

/* ===== Sidebar layout for settings page ===== */
.rankology-settings-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* RTL support: place sidebar on the right in RTL wp-admin */
body.rtl .rankology-settings-layout,
html[dir="rtl"] .rankology-settings-layout {
    /* flex-direction: row-reverse; */
    direction: rtl;
}

body.rtl .rankology-sidebar,
body.rtl .rankology_form_options_styling,
html[dir="rtl"] .rankology-sidebar,
html[dir="rtl"] .rankology_form_options_styling {
    direction: rtl;
}

.rankology-sidebar {
    width: 220px;
    min-width: 160px;
    background: var(--rankology-bg-white);
    padding: 0px 8px 8px 8px; /* reduce top padding */
    border-radius: 8px;
    box-shadow: var(--rankology-shadow);
    position: sticky;
    top: 35px;
    height: calc(100vh - 110px);
    overflow: auto;
}

.rankology-sidebar .rankology-tab-menu {
    display: block;
    gap: 0;
    padding: 0;
    /* margin-top: 56px; reserve space for the logo at top */
}

.rankology-sidebar .rankology-tab-menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: var(--rankology-bg-white);
    border-radius: 6px;
    border: 1px solid var(--rankology-border-color);
    cursor: pointer;
    font-size: 14px;
    word-break: break-word; /* allow long labels to wrap */
}

body.rtl .rankology-sidebar .rankology-tab-menu li,
html[dir="rtl"] .rankology-sidebar .rankology-tab-menu li {
    flex-direction: row-reverse;
    text-align: right;
}

.rankology-sidebar .rankology-tab-menu li .tab-level {
    display: block;
    flex: 1 1 auto; /* allow label to take remaining width and wrap */
    white-space: normal;
    overflow-wrap: anywhere; /* break long words if necessary */
    line-height: 1.2;
}

/* Only increase padding for items that actually wrap to multiple lines */
.rankology-sidebar .rankology-tab-menu li.multi-line {
    padding-top: 12px;
    padding-bottom: 12px;
}

.rankology-sidebar .rankology-tab-menu li i {
    width: 28px;
    text-align: center;
}

.rankology-sidebar .rankology-tab-menu li.active {
    background: linear-gradient(135deg, var(--rankology-primary, #863BDF), var(--rankology-second-primary, #A96AEB));
    color: #fff;
    font-weight: 600;
    border-color: transparent;
}

.rankology_form_options_styling {
    flex: 1;
}

/* Logo in sidebar */
.rankology-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    margin-bottom: 10px;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0; 
    z-index: 50;
    background: #fff;
    min-height: 48px; /* reserved height (can grow if needed) */
}

.rankology-logo-container a { 
    display: flex;
    align-items:center; 
    font-size: 21px;
    font-weight: 700;
    color: var(--rankology-primary);
    gap: 10px; 
    text-decoration:none; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Responsive: small screens revert to horizontal tab list */
@media (max-width: 900px) {
    .rankology-settings-layout {
        display: block;
    }

    .rankology-sidebar {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        margin-bottom: 12px;
        padding: 8px;
        box-shadow: none;
        border-radius: 8px;
    }

    .rankology-sidebar .rankology-tab-menu {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .rankology-sidebar .rankology-tab-menu li {
        white-space: nowrap;
        flex: 0 0 auto;
    }
}


/* ========== CARD STYLES ========== */
.rankology-card-toggle-main {
    display: block;
    border-left: 5px solid transparent;
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 20px;
    background: var(--rankology-bg-white);
    /*box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.17), 0 6px 6px rgba(0, 0, 0, 0.12);*/
    transition: all 0.3s ease;
}

.rankology-card-header-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Block (not flex) so the description paragraph always flows onto its own
   line below the icon+text row as a normal block child — a flex layout here
   fought to keep the description on the same line as the icon/text (the bare
   title text is an anonymous flex item with no flex-basis to force a wrap,
   and the row itself could grow wide enough that a flex-basis:100% sibling
   still "fit"). The icon and title text are wrapped in .rankology-card-title-row
   so they can be laid out as their own inline flex row without affecting the
   description below them. */
.rankology-card-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    flex: 1 1 auto;
    min-width: 0;
}

.rankology-card-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rankology-card-title i {
    font-size: 16px;
    color: var(--rankology-white);
    background: var(--rankology-primary);
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Short helper text under a master toggle's title, explaining what turning it
   on/off actually does — keeps the toggle from being a mystery switch. */
.rankology-card-title-desc {
    display: block;
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    max-width: 520px;
}

.rankology-card-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Short helper text under an individual checkbox toggle (e.g. Posts/Pages/
   Taxonomies, Image SEO sub-options) explaining what it controls. */
.rankology-toggle-item-desc {
    display: block;
    margin: -4px 0 12px 36px;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    max-width: 520px;
}

/* ========== STATUS STYLES ========== */
.rankology-status {
    font-size: 13px;
    font-weight: 600;
    margin-left: 10px;
    padding: 7px 10px;
    border-radius: 4px;
}

.rankology-status-active {
    color: var(--rankology-primary);
    /*background-color: var(--rankology-primary);*/
}

.rankology-status-disabled {
    color: var(--rankology-status-disabled);
    /*background-color: #ffacb4;*/
}

/* ========== TOGGLE SWITCH ========== */
.rankology-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.rankology-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.rankology-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c41313;
    transition: .4s;
    border-radius: 24px;
}

.rankology-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.rankology-toggle-switch input:checked + .rankology-toggle-slider {
    background-color: var(--rankology-primary);
    box-shadow: 0 2px 8px rgba(134, 59, 223, 0.15);
}

.rankology-toggle-switch input:checked + .rankology-toggle-slider:before {
    transform: translateX(26px);
}

/* ========== FORM STYLES ========== */
.rankology_form_options_styling {
    background: transparent;
    padding: 0px 8px;
    border-radius: 8px;
    max-width: 1440px;
    margin: 0 auto;
}

/* ========== BUTTON STYLES ========== */
/*.button-primary.rankology_setting_button,*/
/*.button-primary.rankology_setting_button.focus,*/
/*.button-primary.rankology_setting_button:focus {*/
/*    background: var(--rankology-second-primary);*/
/*    border-color: var(--rankology-second-primary);*/
/*    padding: 6px 15px;*/
/*    box-shadow: none;*/
/*}*/

/*.button-primary.rankology_setting_button:hover {*/
/*    background: var(--rankology-primary);*/
/*    border-color: var(--rankology-primary);*/
/*}*/

/* ========== NOTICE STYLES ========== */


.rankology-alert-success {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #28a745;
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    /*box-shadow: 0 4px 10px rgba(0,0,0,0.15);*/
    font-size: 15px;
    font-weight: 500;
    max-width: 500px;
    margin: 20px auto;
    overflow: hidden;
    /*animation: fadeIn 0.4s ease-in-out;*/
}

.rankology-alert-icon img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.rankology-alert-message {
    flex-grow: 1;
}

.rankology-alert-close {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    opacity: 0.8;
    transition: 0.2s ease;
}

.rankology-alert-close:hover {
    opacity: 1;
}

.rankology-alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255,255,255,0.6);
    width: 100%;
    /*animation: progressFade 3s linear forwards;*/
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes progressFade {
    from { width: 100%; }
    to { width: 0; }
}



.rankology-alert-icon {
    background: rgba(255, 255, 255,1);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
}
/*#rankology-save-result .notice-success {*/
/*    position: relative;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    background: #28a745;*/
/*    color: #fff;*/
/*    padding: 14px 18px;*/
/*    border-radius: 10px;*/
/*    !*box-shadow: 0 4px 10px rgba(0,0,0,0.15);*!*/
/*    font-size: 15px;*/
/*    font-weight: 500;*/
/*    max-width: 500px;*/
/*    margin: 20px auto;*/
/*    overflow: hidden;*/
/*    !*animation: fadeIn 0.4s ease-in-out;*!*/
/*}*/

.fade-out {
    transition: opacity 0.5s ease-in-out;
}


/* ========  card css  ========= */

.rankology-text-block {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.09)),
        url("../images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.rankology-text-block h2 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--rankology-text-mdark);
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: bold;
    line-height: 32px;
}

.rankology-text-block h2 span {
    background: linear-gradient(135deg, #863BDF 0%, #A96AEB 100%);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.rankology-text-block p {
    position: relative;
    z-index: 1;
    color: var(--rankology-text-mdark);
    line-height: 1.4;

    font-size: 15px;
    /*max-width: 600px;*/
    margin: 0 auto;
}

.rankology-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Responsive Grid Layout */
/* Responsive Grid Layout */

.rankology-container-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: center;
    padding: 0rem 0rem 2rem 0rem;
}


/* Card Styling */
.rankology-card {
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.rankology-container-card .notice.notice-info {
    margin: 35px 15px 35px;
    padding: 15px 15px;
}

.rankology-settings-note,
.rankology-container-card .rankology-settings-note {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    margin: 20px 0;
    padding: 12px 15px;
    background: #fff3cd;
    border: 1px solid #ffecb5;
    border-left: 4px solid #dba617;
    border-radius: 8px;
    color: #1d2327;
}

.rankology-settings-note p,
.rankology-container-card .rankology-settings-note p {
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.4;
}

.rankology-settings-note i,
.rankology-container-card .rankology-settings-note i {
    margin-top: 2px;
    opacity: 0.9;
}

.rankology_htaccess_notice {
    background-color: #843030;
    color: #fff;
    padding: 15px;
}

/* ========  card css  ========= */

/* Main Container */
.rankology-main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--rankology-space-lg);
}


/* Header Toggle Section */
.rankology-card-toggle-main {
    background: var(--rankology-white);
    /*border-radius: var(--rankology-radius-xl);*/
    /*padding: var(--rankology-space-xl);*/
    margin-bottom: var(--rankology-space-xl);
    /*box-shadow: var(--rankology-shadow-lg);*/
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rankology-card-toggle-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.rankology-card-toggle-main.normal-card {
    /*border-color: var(--rankology-primary);*/
    background: color-mix(in srgb, var(--rankology-second-primary) 35%, var(--rankology-white));
    border-radius: 10px;
}

.rankology-card-toggle-main.rankology-disable {
    /*border-color: var(--rankology-error);*/
    background: #eae5f5;
    border-radius: 10px;
}

.rankology-card-toggle-main.disabled::before {
    /*background: linear-gradient(90deg, var(--rankology-error) 0%, var(--rankology-warning) 100%);*/
}

.rankology-card-header-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--rankology-space-lg);
}

.rankology-header-content {
    display: flex;
    align-items: center;
    gap: var(--rankology-space-lg);
}

.rankology-header-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--rankology-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rankology-primary) 0%, var(--rankology-second-primary) 100%);
    color: var(--rankology-white);
    box-shadow: var(--rankology-shadow-md);
}

.rankology-header-text h1.rankology-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rankology-text-dark);
    margin-bottom: var(--rankology-space-xs);
}

.rankology-card-subtitle {
    font-size: 0.875rem;
    color: var(--rankology-text-medium);
    font-weight: 500;
}

.rankology-card-toggle {
    display: flex;
    align-items: center;
    gap: var(--rankology-space-lg);
}

/* Toggle Switch */
.rankology-toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
    cursor: pointer;
}

.rankology-toggle {
    opacity: 0;
    width: 0;
    height: 0;
}

.rankology-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--rankology-status-disabled);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rankology-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: var(--rankology-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(134, 59, 223, 0.15);
}

.rankology-toggle:checked + .rankology-toggle-slider {
    background: var(--rankology-success);
}

.rankology-toggle:checked + .rankology-toggle-slider:before {
    transform: translateX(28px);
}

.rankology-toggle-switch:hover .rankology-toggle-slider {
    /*box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(16, 185, 129, 0.1);*/
}

/* Container Card */

/* Main Card */
.rankology-card {
    background: var(--rankology-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.rankology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /*background: linear-gradient(90deg, var(--rankology-success) 0%, var(--rankology-info) 100%);*/
    transition: all 0.3s ease;
}

.rankology-card.active {
    border-color: var(--rankology-success);
    background: linear-gradient(135deg, var(--rankology-white) 0%, var(--rankology-status-active-bg) 100%);
}

.rankology-card.disabled {
    border-color: var(--rankology-error);
    background: linear-gradient(135deg, var(--rankology-white) 0%, var(--rankology-status-disabled-bg) 100%);
    opacity: 0.9;
}

.rankology-card.disabled::before {
    /*background: linear-gradient(90deg, var(--rankology-error) 0%, var(--rankology-warning) 100%);*/
}

.rankology-card:hover {
    transform: translateY(-4px);
    /*box-shadow: var(--rankology-shadow-xl);*/
}

/* Card Header */
.rankology-card-header {
    /*padding: var(--rankology-space-md);*/
    /*background: linear-gradient(135deg, var(--rankology-bg-light) 0%, var(--rankology-white) 100%);*/
    /*border-bottom: 1px solid var(--rankology-border);*/
}

.rankology-card.active .rankology-card-header {
    /*background: linear-gradient(135deg, var(--rankology-success-light) 0%, var(--rankology-white) 100%);*/
    /*border-bottom-color: var(--rankology-success);*/

    background: linear-gradient(135deg, rgba(236, 253, 245, 0.9) 0%, rgba(209, 250, 229, 0.9) 100%);
    border-bottom-color: var(--rankology-success);
}

.rankology-card.disabled .rankology-card-header {
    background: linear-gradient(135deg, var(--rankology-error-light) 0%, var(--rankology-white) 100%);
    border-bottom-color: var(--rankology-error);
}

.rankology-card-header-content {
    display: flex;
    align-items: center;
    gap: var(--rankology-space-md);
}

.rankology-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--rankology-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rankology-primary) 0%, var(--rankology-second-primary) 100%);
    color: var(--rankology-white);
    box-shadow: var(--rankology-shadow);
}

.rankology-card.disabled .rankology-card-icon {
    background: linear-gradient(135deg, var(--rankology-error) 0%, var(--rankology-error-dark) 100%);
}

.rankology-card-header h2.rankology-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rankology-text-dark);
}

/* Card Content */
.rankology-card-content {
    padding: var(--rankology-space-xl);
}

/* Form Sections */
.rankology-form-section {
    margin-bottom: var(--rankology-space-xl);
}

.rankology-form-section:last-child {
    margin-bottom: 0;
}

/* Input Groups */

.rankology-meta-section .rankology-mb-25 {
    margin-bottom: 25px;
}

.rankology-meta-section .rankology-mb-25 label {
    padding-left: 0;
}

.rankology-input-group {
    position: relative;
    margin-bottom: var(--rankology-space-md);
}

.rankology-form-input,
.rankology-form-textarea {
    width: 100%;
    padding: var(--rankology-space-lg) var(--rankology-space-md);
    border: 2px solid var(--rankology-border);
    border-radius: var(--rankology-radius-lg);
    font-size: 1rem;
    font-weight: 500;
    background: var(--rankology-white);
    color: var(--rankology-text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: inherit;
}

.rankology-form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.rankology-form-input:focus,
.rankology-form-textarea:focus {
    border-color: var(--rankology-success);
    background: var(--rankology-white);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.rankology-card.active .rankology-form-input,
.rankology-card.active .rankology-form-textarea {
    border-color: var(--rankology-success);
    background: linear-gradient(135deg, var(--rankology-white) 0%, var(--rankology-success-light) 100%);
}

.rankology-card.disabled .rankology-form-input,
.rankology-card.disabled .rankology-form-textarea {
    border-color: var(--rankology-error);
    background: linear-gradient(135deg, var(--rankology-white) 0%, var(--rankology-error-light) 100%);
    color: var(--rankology-error-dark);
    /*cursor: not-allowed;*/
}

.rankology-card.disabled .rankology-form-input:disabled,
.rankology-card.disabled .rankology-form-textarea:disabled {
    /*opacity: 0.7;*/
}

/* Floating Labels */
.rankology-form-label {
    /*position: absolute;*/

    font-size: 16px;
    font-weight: 600;
    color: var(--rankology-text-mdark);
    /*background: var(--rankology-white);*/

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform-origin: left top;
}

.rankology-form-input:focus + .rankology-form-label,
.rankology-form-input:not(:placeholder-shown) + .rankology-form-label,
.rankology-form-textarea:focus + .rankology-form-label,
.rankology-form-textarea:not(:placeholder-shown) + .rankology-form-label {
    transform: translateY(-28px) scale(0.85);
    color: var(--rankology-success);
    font-weight: 700;
}

.rankology-card.disabled .rankology-form-input:focus + .rankology-form-label,
.rankology-card.disabled .rankology-form-input:not(:placeholder-shown) + .rankology-form-label,
.rankology-card.disabled .rankology-form-textarea:focus + .rankology-form-label,
.rankology-card.disabled .rankology-form-textarea:not(:placeholder-shown) + .rankology-form-label {
    color: var(--rankology-error);
}

.rankology-label-hint {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rankology-text-light);
    margin-top: var(--rankology-space-xs);
}


/* Character Count */


/* Form Actions */
.rankology-form-actions {
    display: flex;
    gap: var(--rankology-space-md);
    margin-top: var(--rankology-space-2xl);
    padding-top: var(--rankology-space-xl);
    border-top: 1px solid var(--rankology-border);
}

/* Responsive Design */

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rankology-card {
    animation: fadeInUp 0.6s ease-out;
}

.rankology-card-toggle-main {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.rankology-preview-section {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Focus Styles for Accessibility */
.rankology-toggle:focus + .rankology-toggle-slider {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.rankology-btn:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* Print Styles */
@media print {
    .rankology-card-toggle-main,
    .rankology-card {
        box-shadow: none;
        border: 1px solid var(--rankology-border);
    }
}

/* Action Buttons */
.rankology-redirection-button {
    padding: 25px 20px;


}

.rankology-redirection-button .rankology_enable_button {
    text-align: center;
    width: 100%;
    display: block;
    padding: 16px 0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.rankology_enable_button.normal-card {
    background: linear-gradient(135deg, var(--rankology-primary), var(--rankology-second-primary));

    color: var(--rankology-white);
    text-align: center;
}


.rankology_enable_button.normal-card:hover {
    background-color: #287B2FFF;
    color: var(--rankology-white);
}

.rankology_enable_button.rankology-disable {
    background: linear-gradient(to right, #c0392b, #e74c3c);

    color: var(--rankology-white);
    text-align: center;
}

.rankology_enable_button.rankology-disable:hover {
    background-color: #7B2828;
    color: var(--rankology-white);
}

.rankology-card {
    width: 100%;
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.rankology-card:hover {
    transform: translateY(-5px);
}

.rankology-card-header {
    /*padding: 30px 35px;*/
    color: white;
    position: relative;
}

/*.rankology-card-header::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 4px;*/
/*}*/

.rankology-card-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    /*letter-spacing: 0.8px;*/
    color: var(--rankology-white);
    line-height: 35px;
    margin-top: 0;
    gap: 12px;
    display: flex;
    align-items: center;
}

.rankology-card-header p {
    opacity: 0.9;
    font-size: 15px;
    font-weight: 400;
    /*max-width: 600px;*/
    line-height: 1.6;
    margin: 0;
}

.rankology-meta-section {
    padding: 20px 30px 20px;
    /*border-bottom: 1px solid #f5eaea;*/
}

.rankology-meta-section:last-child {
    border-bottom: none;
}

.rankology-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.rankology-section-title i {
    margin-right: 12px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rankology-content-box {
    /*background: #f1f1f1;*/
    border-radius: 10px;
    /*padding: 20px;*/
    margin-bottom: 10px;
    /*border: 2px solid;*/
    transition: all 0.3s ease;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);*/
}


.rankology-content-box:focus-within {
    /*box-shadow: 0 0 0 3px rgba(255, 105, 105, 0.2);*/
}

.rankology-seo-and-analytics-tool .rankology-container-card
input[type="text"].rankology-content-text,
.rankology-seo-and-analytics-tool .rankology-container-card
input[type="email"].rankology-content-text,
.rankology-seo-and-analytics-tool .rankology-container-card
input[type="number"].rankology-content-text,
.rankology-seo-and-analytics-tool .rankology-container-card
input[type="tel"].rankology-content-text,
.rankology-seo-and-analytics-tool .rankology-container-card
input[type="url"].rankology-content-text,
.rankology-seo-and-analytics-tool .rankology-container-card
input[type="password"].rankology-content-text,
.rankology-seo-and-analytics-tool .rankology-container-card
input[type="search"].rankology-content-text,
.rankology-seo-and-analytics-tool .rankology-container-card
textarea.rankology-content-text, .rankology-seo-and-analytics-tool .rankology-container-card
input[type="date"].rankology-content-text {
    /*color: #2c3e50;*/
    /*font-size: 17px;*/
    /*line-height: 1.6;*/
    /*!*background: #e9eaf0;*!*/
    /*border: 1px solid #e9eaf0;*/
    /*width: 100%;*/
    /*outline: none;*/
    /*resize: none;*/
    /*min-height: 60px;*/
    /*font-weight: 500;*/
    /*border-radius: 8px;*/

    width: 100%;
    padding:10px 15px;
    border: 2px solid var(--rankology-bg-dark-gray);
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--rankology-form-fields-bg-color);
}

.rankology-seo-and-analytics-tool .rankology-container-card select {
    border-radius: 8px;
}

.rankology-seo-and-analytics-tool .rankology-container-card select {
    width: 100%;
    max-width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #E9EAF0;
    border: #E9EAF0;
    /*border: transparent;*/
}

.rankology-seo-and-analytics-tool .rankology-container-card select:focus {
    border-color: transparent;
    color: var(--rankology-text-medium);
    box-shadow: none;
}

.rankology-seo-and-analytics-tool .rankology-container-card textarea.rankology-content-text {
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
    width: 100%;
    padding:10px 15px;
    border: 2px solid var(--rankology-bg-dark-gray);
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--rankology-form-fields-bg-color);
}

.rankology-seo-and-analytics-tool .rankology-container-card input[type="text"].rankology-content-text:focus,
.rankology-seo-and-analytics-tool .rankology-container-card textarea.rankology-content-text:focus {
    border: 2px solid var(--rankology-primary);
    box-shadow: 0 0 0 3px rgba(134, 59, 223, 0.1);
}

.rankology-word-count-text {
    /*padding-right: 5px;*/
}

.rankology-word-count-text.rankology-status-green {
    color: #198754; /* green */
    background-color: transparent;
}

.rankology-word-count-text.rankology-status-warning {
    color: #ff9800; /* yellow */
}

.rankology-word-count-text.rankology-status-error {
    color: #dc3545; /* red */
}

.rankology-word-count-text.rankology-status-green {
    color: #198754; /* green */
}

.rankology-word-count-text.rankology-status-warning {
    color: #ff9800; /* yellow */
}

.rankology-word-count-text.rankology-status-error {
    color: #a4111f; /* red */
}

.rankology-status-indicator.rankology-status-warning {
    background-color: #ff9800; /* yellow */
}

.rankology-status-indicator.rankology-status-green {
    background-color: #198754; /* green */
}

.rankology-status-indicator.rankology-status-error {
    background-color: #a4111f; /* yellow */
}


/*.rankology-content-text {*/
/*    color: #2c3e50;*/
/*    font-size: 17px;*/
/*    line-height: 1.6;*/
/*    background: transparent;*/
/*    border: none;*/
/*    width: 100%;*/
/*    outline: none;*/
/*    resize: none;*/
/*    min-height: 60px;*/
/*    font-weight: 500;*/
/*}*/

.rankology-char-count {
    display: flex;
    justify-content: flex-end;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.rankology-status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 10px;
    margin-top: 3px;
}

.rankology-status-good {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.rankology-recommendation input {
    /*margin-right: 15px;*/
    /*margin-top: 5px;*/
    /*cursor: pointer;*/
}
.rankology-recommendation {
    display: flex;
    /*align-items: flex-start;*/
    /*border-radius: 8px;*/
    /*padding: 5px 0px;*/
    /*border-left: 4px solid;*/
}
.rankology-recommendation label {
    font-size: 13px;
    /*margin-top: 8px;*/
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rankology-text-medium);
}
.rankology-recommendation i{
    color: var(--rankology-primary);
}
.rankology-buttons-container {
    display: flex;
    padding: 25px 20px;
    gap: 20px;
    /*background: #fffafa;*/
    /*border-top: 1px solid;*/
}

.rankology-btn {
    flex: 1;
    padding: 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rankology-btn:hover {
    transform: translateY(-2px);
}

.rankology-btn-save {
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rankology-btn-reset {
    background: transparent;
    border: 2px solid;
}

.rankology-logo {
    position: absolute;
    top: 20px;
    right: 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(135deg, #863BDF, #A96AEB);
    color: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.rankology-logo i {
    font-size: 24px;
}

/* Normal Card Styles */
.rankology-container-card .normal-card {
    /*background: linear-gradient(to bottom right, #d9c6f5a8, #e8e8e88c);*/
    border-radius: 10px;
    box-shadow: 0 4px 8px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.rankology-container-card .normal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.normal-card .rankology-card-header {
    background: linear-gradient(135deg, var(--rankology-primary) 0%, var(--rankology-second-primary) 100%);
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

.normal-card .rankology-card-header::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.normal-card .rankology-divider {
    height: 2px;
    background: linear-gradient(to right, #167940, #16a085, #37AA68);
    margin: 20px 0;
    border-radius: 10px;
}

.normal-card .rankology-section-title {
    color: #1a7d5e;
}

.normal-card .rankology-section-title i {
    color: var(--rankology-white);
    background: var(--rankology-primary);;
}

.normal-card .rankology-content-box {
    border-color: #0D843F;
}

.normal-card .rankology-content-box:focus-within {
    border-color: #27ae60;
}

.normal-card .rankology-char-count {
    color: #0D843F;
}

.normal-card .rankology-status-good {
    background-color: #2ecc71;
}

.normal-card .rankology-buttons-container {
    border-top-color: #e8f5ee;
}

.normal-card .rankology-btn-save {
    background: linear-gradient(to right, #14713b, #4c956b);
    border: transparent;
    padding: 15px 50px;
    font-size: 17px;
}

.normal-card .rankology-btn-save:hover {
    background: linear-gradient(to right, #219653, #27ae60);
    box-shadow: 0 7px 20px rgba(39, 174, 96, 0.4);
}

.wp-core-ui .normal-card .button-primary.rankology_setting_button.active,
.wp-core-ui .normal-card .button-primary.rankology_setting_button.active:hover,
.wp-core-ui .normal-card .button-primary.rankology_setting_button.active:focus,
.wp-core-ui .normal-card .button-primary.rankology_setting_button:active,
.wp-core-ui .normal-card .button-primary.rankology_setting_button:focus {
    background: linear-gradient(to right, #219653, #27ae60);
    box-shadow: 0 7px 20px rgba(39, 174, 96, 0.3);
}

.rankology-card-toggle-main.rankology-disable{
    box-shadow: none;
}

/* Fields directly tied to a master toggle that's currently off (the toggle's
   own related field-card only — sibling cards/sub-toggles are untouched).
   `readonly` text inputs/textareas get their own dimmed look here;
   checkboxes/radios/selects/buttons (which don't support `readonly`) get
   .rankology-field-locked to visually and functionally block interaction —
   see rankologySyncToggleRelatedFields() in rankology-admin-tabs.js for why
   `disabled` isn't used (it would drop the field's value entirely when the
   settings form is saved). */
.rankology-fields-locked input[readonly],
.rankology-fields-locked textarea[readonly] {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.rankology-field-locked {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

/* .rankology-checkbox's real <input> renders at 0×0/opacity:0 with the
   <label> as the actual click surface, so locking the input alone leaves the
   label fully clickable — this class goes on that label alongside
   .rankology-field-locked on the input (see rankologySyncToggleRelatedFields()
   in rankology-admin-tabs.js). */
.rankology-field-locked-label {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}
/* Disabled Card Styles */
.rankology-disable {
    /*background: linear-gradient(to bottom right, #f2c7c780, #ecb3b399); !* Light red gradient *!*/
    /*box-shadow: 0 4px 20px rgba(255, 107, 107, 0.1);*/
    /*transition: box-shadow 0.3s ease, transform 0.3s ease;*/
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(118, 34, 215, 0.04), 0 0 0 1px rgba(126, 34, 206, 0.05);

    /*width: 100%;*/
    /*max-width: 680px;*/
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(126, 34, 206, 0.15);
    /*pointer-events: none;*/
    filter: contrast(0.9) saturate(0.9);

}

.rankology-disable .rankology-card-header::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}
.rankology-disable:hover {
    /*box-shadow: 0 8px 30px rgba(255, 107, 107, 0.25);*/
    transform: translateY(-4px);
}

.rankology-disable .rankology-card-header {
    background: linear-gradient(135deg, rgba(var(--rankology-second-primary-rgb), 0.8) 0%,rgba(var(--rankology-primary-rgb), 0.8) 100%);
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}


.rankology-disable .rankology-card-header::after {
    /*background: linear-gradient(to right, #4b5563, #6b7280);*/
}

.rankology-disable .rankology-divider {
    height: 2px;
    background: linear-gradient(to right, #ff4d4d, #ff6b6b, #ffa8a8);
    margin: 20px 0;
    border-radius: 10px;
}

.rankology-disable .rankology-section-title {
    color: #b33939;
}

.rankology-disable .rankology-section-title i {
    color: var(--rankology-white);
    background: #4b5563;
}

.rankology-disable .rankology-content-box {
    border-color: #c85c5c;
}

.rankology-disable .rankology-content-box:focus-within {
    border-color: #ff6b6b;
}

.rankology-disable .rankology-char-count {
    color: #b33939;
}

.rankology-disable .rankology-status-good {
    background-color: #ff6b6b;
}

.rankology-disable .rankology-recommendation {
    /*background: #4b5563;*/

}

.rankology-disable .rankology-recommendation label {
    color: var(--rankology-text-medium);
}

.rankology-disable .rankology-buttons-container {
    border-top-color: #ffe0e0;
}

.rankology-disable .rankology-btn-save {
    background: linear-gradient(to right, #c0392b, #e74c3c); /* Darker red gradient */
    border: transparent;
    padding: 15px 50px;
    font-size: 17px;
    color: #fff;
}

.rankology-disable .rankology-btn-save:hover {
    background: linear-gradient(to right, #a93226, #c0392b); /* Even darker on hover */
    box-shadow: 0 7px 20px rgba(192, 57, 43, 0.4);
}


.wp-core-ui .rankology-disable .button-primary.rankology_setting_button.active,
.wp-core-ui .rankology-disable .button-primary.rankology_setting_button.active:hover,
.wp-core-ui .rankology-disable .button-primary.rankology_setting_button.active:focus,
.wp-core-ui .rankology-disable .button-primary.rankology_setting_button:active,
.wp-core-ui .rankology-disable .button-primary.rankology_setting_button:focus {
    background: linear-gradient(to right, #a93226, #c0392b); /* Even darker on hover */
    box-shadow: 0 7px 20px rgba(192, 57, 43, 0.4);
}


.card-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.card-title span {
    color: #ff6b6b;
}

.rankology-saving-settings-btn {
    display: flex;
    justify-content: flex-end;
    padding: 25px 15px;
    border-top: 1px solid #e1e1e1;
    margin: 15px 30px 0;
}

.rankology-setting-save-btn {

    background: var(--rankology-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(134, 59, 223, 0.3);
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.rankology-setting-save-btn:hover {
    background: var(--rankology-second-primary);
    border-color: var(--rankology-second-primary);;
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.rankology-btn-icon {
    width: 16px;
    height: 16px;
    padding-right: 5px;
}

.rankology-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    padding: 20px;
}

/* Filter Dropdown */
#rankology-bot-type-filter {
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 250px;
}

/* Table Styling */
#rankology-bot-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

/* Column Widths */
#rankology-bot-table th:nth-child(1),
#rankology-bot-table td:nth-child(1) {
    width: 50px;
    text-align: center;
}

#rankology-bot-table th:nth-child(2),
#rankology-bot-table td:nth-child(2) {
    width: 15%;
}

#rankology-bot-table th:nth-child(3),
#rankology-bot-table td:nth-child(3) {
    width: 15%;
}

#rankology-bot-table th:nth-child(4),
#rankology-bot-table td:nth-child(4) {
    width: 15%;
}

#rankology-bot-table th:nth-child(5),
#rankology-bot-table td:nth-child(5) {
    width: 25%;
}

#rankology-bot-table th:nth-child(6),
#rankology-bot-table td:nth-child(6) {
    width: 110px;
    text-align: center;
}

#rankology-bot-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

#rankology-bot-table tbody tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.2s ease-in-out;
}

/* Action Buttons (Add / Remove) */
.rankology-action-btn {
    padding: 8px 14px;
    font-size: 13px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.25s ease-in-out, transform 0.1s ease;
}

/* Add Button */
/* Add Button */
.rankology-add-btn {
    padding: 10px 18px;
    font-size: 14px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

.rankology-add-btn:hover {
    background-color: #218838;
}

/* Remove Button */
.rankology-remove-btn {
    padding: 10px 18px;
    font-size: 14px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

.rankology-remove-btn:hover {
    background-color: #c82333;
}


/* Pagination Container */
#rankology-pagination-controls {
    margin-top: 25px;
    text-align: center;
}

/* Pagination Buttons */
#rankology-pagination-controls button {
    padding: 10px 15px;
    margin: 0 6px;
    background-color: var(--rankology-second-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    /*font-weight: 500;*/
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);*/
    transition: all 0.3s ease;
}

#rankology-pagination-controls button:hover {
    background-color: #0073aa;
    color: #fff;
}

/* Active Page */
#rankology-pagination-controls button.rankology-active {
    background-color: var(--rankology-primary);
    color: #fff;
    /*font-weight: bold;*/
    /*box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);*/
}

.rankology_sitemap_url {
    font-size: 16px;
    color: #333333;
    margin: 0 0 35px 21px;
    font-weight: 600;
    text-decoration: none;
    display: block;
}


.rankology_form_options_styling .rankology-tab-contents.rankology-tab-content {
    /* display: flex; */
    flex-wrap: wrap; /* allow wrapping to next row */
    gap: 20px; /* space between divs */
}

.rankology-wrap {
    flex: 1 1 calc(50% - 20px); /* 2 per row */
    max-width: calc(50% - 20px);
    box-sizing: border-box;
    margin: 0 auto; /* centers the div */
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}


.rankology-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.rankology-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* margin-bottom: 24px; */
}

.rankology-button-primary {
    background: linear-gradient(135deg, var(--rankology-primary), var(--rankology-second-primary));
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.rankology-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.rankology-button-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ---------- Visual adjustments: slim/medium action buttons, matching the
   plugin's standard button size (e.g. .rankology-setting-save-btn) instead of
   the previous full-width, oversized pill style. ---------- */
.rankology-button {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 16px rgba(118, 59, 223, 0.12);
    text-transform: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.rankology-button .button-text {
    display: inline-block;
    text-align: center;
}

/* Group cards into a responsive grid with generous gaps */
.rankology-container-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
    align-items: start;
}

/* Make the card header more prominent and rounded like the screenshot */
.normal-card .rankology-card-header {
    padding: 28px 34px;
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0 -20px 40px rgba(255,255,255,0.03);
}

/* Add subtle dashed separators and extra padding inside card sections */
.rankology-meta-section {
    padding: 28px 30px 28px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.rankology-meta-section:last-child {
    border-bottom: none;
}

/* Card frame and spacing */
.rankology-field-card {
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.98));
}

/* Progress bars with rounded fill matching the primary gradient */
.rankology-progress-bar, #rankology-export-progress-bar-post, #rankology-taxonomy-progress-bar {
    background: #e5e7eb;
    height: 10px;
    border-radius: 10px;
    margin-top: 12px;
    overflow: hidden;
}

.rankology-progress-fill {
    background: linear-gradient(90deg, var(--rankology-primary), var(--rankology-second-primary));
    height: 100%;
    width: 0;
    transition: width 0.4s ease;
}

/* Slightly larger icon/title styles in header to match design */
.rankology-card-header h1 {
    font-size: 20px;
    line-height: 1.15;
}

.rankology-card-header p {
    opacity: 0.95;
}

/* Final polish on mobile: make buttons comfortable on small widths */
@media (max-width: 560px) {
    .rankology-button { padding: 12px 18px; width: 100%; }
    .rankology-container-card { grid-template-columns: 1fr; }
}

/* ------------------- End visual adjustments ------------------- */

.rankology-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rankology-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.rankology-section-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    padding-left: 2px;
}

.rankology-export-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    text-align: center;
    line-height: 42px;
}

.rankology-export-description {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
}

/* Styled file input wrapper to match the card look */
.rankology-file-input {
    background: #fff;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    box-shadow: 0 6px 18px rgba(118, 59, 223, 0.04);
}

.rankology-file-input .rankology-file-label {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
}

.rankology-file-input .rankology-choose-btn {
    background: linear-gradient(135deg, var(--rankology-primary), var(--rankology-second-primary));
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(118, 59, 223, 0.15);
}

.rankology-file-input .rankology-file-name {
    color: var(--rankology-text-medium);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* hide the original file input (we trigger it via JS) */
.rankology-hidden-file-input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Keep existing fallback spacing for legacy inputs */
.rankology-import-export-form input[type="file"] {
    margin: 0 auto 15px;
    display: block;
}

#rankology-import-form label {
    text-align: center;
}

.rankology-import-export-form #rankology-import-posts-progress-text {
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgb(168, 230, 182) 0%, rgb(143, 206, 158) 100%);
    color: rgb(21, 87, 36);
    font-size: 18px;
    border: 1px solid rgb(195, 230, 203);
    box-shadow: rgba(21, 87, 36, 0.1) 0px 2px 8px;
}

.rankology-input-group {
    /*display: flex;*/
    /*gap: 8px;*/
    margin-bottom: 15px;
    align-items: center;
}

.rankology-input-group .button {
    margin-top: 15px;
}

.rankology-input-field {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.rankology-input-group .button {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rankology-info-text {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.rankology-logo-preview {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    display: inline-block;
}

.rankology-logo-preview img {
    display: block;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}


@media (min-width: 1199px) {
    .rankology-container-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: below 1024px → show one per row */
@media (max-width: 1199px) {
    .rankology-wrap {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


@media (max-width: 768px) {
    body {
        padding: var(--rankology-space-md);
    }

    .rankology-main-container {
        padding: var(--rankology-space-md);
    }

    .rankology-card-header-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--rankology-space-lg);
    }

    .rankology-card-toggle {
        align-self: stretch;
        justify-content: space-between;
    }

    .rankology-form-actions {
        flex-direction: column;
    }


    .rankology-progress-bar {
        width: 100%;
    }
}


@media (max-width: 650px) {
    .rankology-buttons-container {
        flex-direction: column;
    }

    .rankology-card-header {
        padding: 25px;
    }

    .rankology-meta-section {
        padding: 25px;
    }

    .rankology-card-header h1 {
        font-size: 26px;
    }

    .rankology-card-header p {
        font-size: 16px;
    }

    .rankology-logo {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 15px;
        justify-content: flex-end;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }
}



:root {
    --rankology-primary: #863BDF;
    --rankology-second-primary: #A96AEB;
    --bg: #f7f7fb;
    --card-bg: #fff;
    --muted: #8a8f95;
    --gradient-primary: linear-gradient(135deg, var(--rankology-primary), var(--rankology-second-primary));
}

.rankology-header {
    margin-top: 20px;
    font-size: 22px;
    color: var(--rankology-primary);
    font-weight: 600;
    margin-bottom: 18px;
}

.rankology-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.rankology-card-gs {
    background: var(--card-bg);
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    padding: 20px 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rankology-card-gs::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.rankology-card-gs:hover::before {
    opacity: 0.05;
}

.rankology-card-gs:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(134, 59, 223, 0.15);
}

/* Top section (title + icon) */
.rankology-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.rankology-card-gs .title {
    font-size: 15px;
    color: #636566;
    font-weight: 600;
}

.rankology-card-gs .icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(134, 59, 223, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rankology-primary);
    font-size: 18px;
}

/* Value at bottom */
.rankology-card-gs .value {
    font-size: 30px;
    font-weight: 700;
    color: var(--rankology-primary);
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

/* Accent line */
.rankology-card-gs::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: var(--gradient-primary);
    border-radius: 10px 0 0 10px;
    opacity: 0.8;
}

/* Color Variants */
.card-purple::after {
    background: linear-gradient(180deg, #863BDF, #A96AEB);
}
.card-orange::after {
    background: linear-gradient(180deg, #ff6b3a, #ffb59a);
}
.card-blue::after {
    background: linear-gradient(180deg, #008cff, #7ad3ff);
}
.card-green::after {
    background: linear-gradient(180deg, #28c76f, #b6f4d6);
}

/* Responsive Layout */
@media (max-width: 1024px) {
    .rankology-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .rankology-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .rankology-cards {
        grid-template-columns: 1fr;
    }
}


/* ================================================================
   SEO Configuration page — "Quick Assist" guide modal (own prefix:
   rankology-seocfg-guide-* / .rankology-seocfg-modal). Structurally
   identical to the Speed Booster page's own Quick Assist modal
   (rankology-speed-booster/assets/css/rankology-speedbooster-style.css) —
   the Speed Booster page's own trigger button + modal chrome CSS block,
   with rankology-spb- / rk-spb- class/variable prefixes renamed to
   rankology-seocfg- / rk-seocfg- class/variable prefixes, and the group color-mapping selectors
   (§ "Content-pane design system") updated to this page's own 15 real
   sidebar group slugs (get-started, general, social-platforms,
   redirections, image-seo, schema, htaccess, robots, breadcrumb, sitemap,
   crawling, import-export, alerts-warnings, paid-features, reference) —
   the Cloudflare tab's own separate Quick Assist button/modal on the
   Speed Booster page is a different feature, untouched by this block.
   ================================================================ */

/* Hero "Quick Assist" trigger button. .rankology-text-block (the button's
   positioning ancestor) already has "position: relative" defined in the
   shared admin/assets/css/rankology-admin-style.css file, which is always
   enqueued before this stylesheet on this page — no redundant rule needed
   here for that; only the button's own size/position override. */
.rankology-seocfg-guideline-trigger {
  position: absolute;
  top: 16px;
  right: 18px;
  /* .rankology-text-block h2 (admin/assets/css/rankology-admin-style.css) is
     itself position:relative with z-index:1 and spans the hero's full width,
     so without an explicit higher z-index here the button sits underneath it
     in the same top band and is visually present but unclickable — matching
     the working GA/SC "Quick Assist" button's own z-index:2 on this same
     positioning rule. */
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  /* The button's label is a translated string ("Quick Assist" -> "Assistência
     Rápida", "Быстрая помощь", etc.) and can run noticeably longer than the
     English original. Without max-width/white-space control the button grows
     leftward from its fixed right:18px anchor, in non-English locales far
     enough to sit under/behind the centered h2 title below it (which still
     spans the hero's full width) — the title then visually overlaps the
     button and, since the title re-enters view on top in normal paint order
     for the parts outside the button's own box, clicks on that overlapped
     area land on the h2 instead of the button. Capping the width and forcing
     a single line keeps the button's footprint small and predictable at any
     translation length instead of growing into the title. */
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rankology-seocfg-guideline-trigger svg {
  width: 14px;
  height: 14px;
}

/* Reserve clear space above the hero title so it can never sit underneath the
   trigger button's box regardless of how long the translated button label
   gets (see the max-width/white-space note on .rankology-seocfg-guideline-trigger
   above) — scoped to this page only via the sibling selector, so the shared
   .rankology-text-block h2 rule used by other modules (Speed Booster,
   LinkFlow, etc.) is untouched. Only needed above 782px: below that, the
   trigger becomes position:static (see the existing @media (max-width: 782px)
   block further down) and stacks above the title in normal flow, so there is
   no overlap to guard against and no extra margin is wanted there. */
@media (min-width: 783px) {
  .rankology-seocfg-guideline-trigger + h2 {
    margin-top: 34px;
  }
}

.rankology-seocfg-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

.rankology-seocfg-modal.is-open,
.rankology-seocfg-modal.is-open[hidden] {
  display: flex;
}

.rankology-seocfg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.rankology-seocfg-modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  z-index: 1;
}

.rankology-seocfg-guide-dialog {
  width: min(1040px, 94vw);
  max-height: 90vh;
}

.rankology-seocfg-guide-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  flex: 0 0 auto;
}

.rankology-seocfg-guide-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.rankology-seocfg-guide-topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef2ff;
  color: #4338ca;
  flex: 0 0 auto;
}

.rankology-seocfg-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.rankology-seocfg-guide-search {
  flex: 1 1 auto;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  color: #9ca3af;
}

.rankology-seocfg-guide-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9ca3af;
}

.rankology-seocfg-guide-search-input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 38px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  line-height: 38px !important;
  color: #111827;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.rankology-seocfg-guide-search-input::placeholder {
  color: #9ca3af;
}

.rankology-seocfg-guide-search-input:focus {
  outline: none;
  border-color: var(--rk-seocfg-gc, #7c3aed) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14) !important;
  background: #fff;
}

/* WebKit adds a default × clear button on type="search" fields that clashes
   with our own dropdown — hide it, the input clears via normal text selection. */
.rankology-seocfg-guide-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.rankology-seocfg-guide-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  z-index: 5;
  padding: 6px;
}

.rankology-seocfg-guide-search-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.rankology-seocfg-guide-search-result:hover,
.rankology-seocfg-guide-search-result:focus-visible,
.rankology-seocfg-guide-search-result.is-highlighted {
  background: rgba(124, 58, 237, 0.08);
  outline: none;
}

.rankology-seocfg-guide-search-result-group {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--rk-seocfg-gc, #7c3aed);
}

.rankology-seocfg-guide-search-result-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.rankology-seocfg-guide-search-result-snippet {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.rankology-seocfg-guide-search-result-snippet mark {
  background: rgba(124, 58, 237, 0.22);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

.rankology-seocfg-guide-search-empty {
  padding: 12px 10px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.rankology-seocfg-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #6b7280;
  border-radius: 8px;
  cursor: pointer;
  flex: 0 0 auto;
}

.rankology-seocfg-modal-close:hover {
  background: #f3f4f6;
  color: #111827;
}

.rankology-seocfg-guide-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.rankology-seocfg-guide-sidebar {
  width: 260px;
  flex: 0 0 260px;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
  padding: 12px;
}

.rankology-seocfg-guide-sidebar-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.rankology-seocfg-guide-sidebar-controls button {
  appearance: none;
  flex: 1 1 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.rankology-seocfg-guide-sidebar-controls button:hover {
  color: var(--rk-seocfg-gc, #7c3aed);
  border-color: rgba(124, 58, 237, 0.4);
  background: #fff;
}

.rankology-seocfg-guide-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rankology-seocfg-guide-group {
  margin-bottom: 4px;
}

.rankology-seocfg-guide-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6b7280;
}

.rankology-seocfg-guide-group-chevron {
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}

.rankology-seocfg-guide-group.is-expanded .rankology-seocfg-guide-group-chevron {
  transform: rotate(180deg);
}

.rankology-seocfg-guide-topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.rankology-seocfg-guide-group.is-expanded .rankology-seocfg-guide-topic-list {
  display: block;
}

.rankology-seocfg-guide-topic-link {
  display: block;
  width: 100%;
  padding: 7px 10px;
  margin: 1px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  font-size: 12.5px;
  color: #374151;
  cursor: pointer;
}

.rankology-seocfg-guide-topic-link:hover {
  background: #f3f4f6;
}

.rankology-seocfg-guide-topic-link.is-current {
  background: #eef2ff;
  color: #4338ca;
  font-weight: 600;
}

.rankology-seocfg-guide-empty-state {
  padding: 10px;
  font-size: 12px;
  color: #6b7280;
}

/* Utility class toggled by the guide JS (rankology-seocfg-guideline.js) — used to
   hide/show the search results dropdown. Defined here from the start (not as an
   afterthought): a class referenced by JS but never defined in CSS would silently
   fail to hide/show anything, exactly the bug already found and fixed on this
   same pattern elsewhere in the codebase (Speed Booster's own guide). */
.rankology-seocfg-hidden {
  display: none !important;
}

.rankology-seocfg-guide-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 22px 28px;
}

.rankology-seocfg-guide-topic {
  display: none;
}

.rankology-seocfg-guide-topic.is-active {
  display: block;
}

.rankology-seocfg-guide-breadcrumb {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9ca3af;
}

.rankology-seocfg-guide-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.rankology-seocfg-guide-subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}

.rankology-seocfg-guide-topic p,
.rankology-seocfg-guide-topic ul,
.rankology-seocfg-guide-topic ol {
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 14px;
}

.rankology-seocfg-guide-topic ul,
.rankology-seocfg-guide-topic ol {
  padding-left: 20px;
}

.rankology-seocfg-guide-topic li {
  margin-bottom: 6px;
}

.rankology-seocfg-inline-notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 0 0 16px;
  border: 1px solid transparent;
}

.rankology-seocfg-inline-notice-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
}

.rankology-seocfg-inline-notice-content strong {
  font-size: 13px;
}

.rankology-seocfg-inline-notice-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.rankology-seocfg-inline-notice-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.rankology-seocfg-inline-notice-success {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border-color: #a7f3d0;
  color: #065f46;
}

/* ================================================================
   Content-pane design system — professional, colorful, easy to scan.
   Additive-only: per-group accent colors, a proper header block (icon
   chip + breadcrumb pill + gradient title + subtitle), card-style step
   lists, labeled bullet rows, icon-badged notice cards, and refined
   buttons/typography. Nothing above this block is modified. */

.rankology-seocfg-guide-dialog {
  --rk-seocfg-g1: #7c3aed;
  --rk-seocfg-g1-soft: #a855f7;
  --rk-seocfg-g2: #2563eb;
  --rk-seocfg-g2-soft: #3b82f6;
  --rk-seocfg-g3: #d97706;
  --rk-seocfg-g3-soft: #f59e0b;
  --rk-seocfg-g4: #0891b2;
  --rk-seocfg-g4-soft: #06b6d4;
  --rk-seocfg-g5: #db2777;
  --rk-seocfg-g5-soft: #ec4899;
}

.rankology-seocfg-guide-group[data-guide-group="get-started"] { --rk-seocfg-gc: var(--rk-seocfg-g1); --rk-seocfg-gc-soft: var(--rk-seocfg-g1-soft); }
.rankology-seocfg-guide-group[data-guide-group="general-social"] { --rk-seocfg-gc: var(--rk-seocfg-g2); --rk-seocfg-gc-soft: var(--rk-seocfg-g2-soft); }
.rankology-seocfg-guide-group[data-guide-group="redirections-sitemap"] { --rk-seocfg-gc: var(--rk-seocfg-g3); --rk-seocfg-gc-soft: var(--rk-seocfg-g3-soft); }
.rankology-seocfg-guide-group[data-guide-group="crawling-alerts"] { --rk-seocfg-gc: var(--rk-seocfg-g4); --rk-seocfg-gc-soft: var(--rk-seocfg-g4-soft); }
.rankology-seocfg-guide-group[data-guide-group="image-seo"] { --rk-seocfg-gc: var(--rk-seocfg-g5); --rk-seocfg-gc-soft: var(--rk-seocfg-g5-soft); }
.rankology-seocfg-guide-group[data-guide-group="schema"] { --rk-seocfg-gc: var(--rk-seocfg-g1); --rk-seocfg-gc-soft: var(--rk-seocfg-g1-soft); }
.rankology-seocfg-guide-group[data-guide-group="files"] { --rk-seocfg-gc: var(--rk-seocfg-g2); --rk-seocfg-gc-soft: var(--rk-seocfg-g2-soft); }
.rankology-seocfg-guide-group[data-guide-group="breadcrumb"] { --rk-seocfg-gc: var(--rk-seocfg-g3); --rk-seocfg-gc-soft: var(--rk-seocfg-g3-soft); }
.rankology-seocfg-guide-group[data-guide-group="reference"] { --rk-seocfg-gc: var(--rk-seocfg-g5); --rk-seocfg-gc-soft: var(--rk-seocfg-g5-soft); }

/* -- Sidebar accents -- */

.rankology-seocfg-guide-group-toggle {
  position: relative;
  padding-left: 14px !important;
}

.rankology-seocfg-guide-group-toggle:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: var(--rk-seocfg-gc, #7c3aed);
}

.rankology-seocfg-guide-topic-link.is-current {
  background: linear-gradient(135deg, var(--rk-seocfg-gc, #7c3aed) 0%, var(--rk-seocfg-gc-soft, #a855f7) 100%);
  color: #fff;
  box-shadow: 0 3px 8px rgba(124, 58, 237, 0.22);
}

.rankology-seocfg-guide-topic-link:hover,
.rankology-seocfg-guide-topic-link.is-highlighted {
  background: rgba(124, 58, 237, 0.08);
  color: var(--rk-seocfg-gc, #7c3aed);
}

/* -- Content pane header block -- */

.rankology-seocfg-guide-content {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.035) 0%, rgba(255, 255, 255, 0) 220px);
}

.rankology-seocfg-guide-topic-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rankology-seocfg-guide-topic-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rk-seocfg-gc, #7c3aed) 0%, var(--rk-seocfg-gc-soft, #a855f7) 100%);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.28);
}

.rankology-seocfg-guide-topic-icon svg {
  width: 22px;
  height: 22px;
}

.rankology-seocfg-guide-topic-headings {
  flex: 1 1 auto;
  min-width: 0;
}

.rankology-seocfg-guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  margin-bottom: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.rankology-seocfg-guide-breadcrumb-group {
  color: #94a3b8;
  font-weight: 700;
}

.rankology-seocfg-guide-breadcrumb-sep {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  color: #cbd5e1;
}

.rankology-seocfg-guide-breadcrumb-current {
  color: var(--rk-seocfg-gc, #7c3aed);
  font-weight: 800;
}

.rankology-seocfg-guide-title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.rankology-seocfg-guide-subtitle {
  margin: 0;
  font-weight: 600;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

/* -- Body typography & rhythm -- */

.rankology-seocfg-guide-topic p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #374151;
}

.rankology-seocfg-guide-topic p + p {
  margin-top: -6px;
}

.rankology-seocfg-guide-topic strong {
  color: #0f172a;
  font-weight: 800;
}

/* -- Numbered step cards for <ol> -- */

.rankology-seocfg-guide-topic ol {
  list-style: none;
  padding-left: 0;
  counter-reset: rkseocfgstep;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rankology-seocfg-guide-topic ol > li {
  position: relative;
  padding: 11px 16px 11px 46px;
  margin: 0 !important;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-left: 3px solid var(--rk-seocfg-gc, #7c3aed);
  border-radius: 10px;
  counter-increment: rkseocfgstep;
  font-weight: 500;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.rankology-seocfg-guide-topic ol > li:hover {
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.07);
  transform: translateX(1px);
}

.rankology-seocfg-guide-topic ol > li:before {
  content: counter(rkseocfgstep);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rk-seocfg-gc, #7c3aed), var(--rk-seocfg-gc-soft, #a855f7));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.18);
}

/* -- Bullet lists: plain vs. labeled ("Label: description") rows -- */

.rankology-seocfg-guide-topic ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rankology-seocfg-guide-topic ul > li {
  position: relative;
  padding: 3px 0 3px 22px;
  line-height: 1.65;
}

.rankology-seocfg-guide-topic ul > li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--rk-seocfg-gc, #7c3aed), var(--rk-seocfg-gc-soft, #a855f7));
  transform: rotate(45deg);
}

/* A bullet whose <li> opens with a bold "Label:" reads as a labeled row —
   give the label its own colored pill so the list scans like a mini
   definition table instead of a wall of text. */
.rankology-seocfg-guide-topic ul > li > strong:first-child {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 9px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--rk-seocfg-gc, #7c3aed);
  font-weight: 800;
  font-size: 12.5px;
}

/* -- Notice cards: icon badge + heading + body, colored per variant -- */

.rankology-seocfg-inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  border-left-width: 4px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.rankology-seocfg-inline-notice:before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  margin-top: 1px;
}

.rankology-seocfg-inline-notice-content {
  gap: 3px;
}

.rankology-seocfg-inline-notice-content strong {
  font-size: 13.5px;
  font-weight: 800;
}

.rankology-seocfg-inline-notice-content span {
  line-height: 1.6;
}

.rankology-seocfg-inline-notice-info {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border-color: #bfdbfe;
  border-left-color: #3b82f6;
  color: #1e3a8a;
}

.rankology-seocfg-inline-notice-info:before {
  background-color: rgba(59, 130, 246, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.rankology-seocfg-inline-notice-error {
  background: linear-gradient(135deg, #fef2f2, #fff1f2);
  border-color: #fecaca;
  border-left-color: #ef4444;
  color: #991b1b;
}

.rankology-seocfg-inline-notice-error:before {
  background-color: rgba(239, 68, 68, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

.rankology-seocfg-inline-notice-success {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border-color: #a7f3d0;
  border-left-color: #22c55e;
  color: #065f46;
}

.rankology-seocfg-inline-notice-success:before {
  background-color: rgba(34, 197, 94, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}

/* -- Free vs Pro / comparison-style callouts (reuses .rankology-seocfg-inline-notice-info structure) -- */

.rankology-seocfg-guide-topic .rankology-gs-btn-outline {
  border: 1.5px solid rgba(124, 58, 237, 0.32) !important;
  color: var(--rk-seocfg-gc, #7c3aed) !important;
  font-weight: 800;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  transition: all 0.15s ease;
}

.rankology-seocfg-guide-topic .rankology-gs-btn-outline:hover {
  background: linear-gradient(135deg, var(--rk-seocfg-gc, #7c3aed), var(--rk-seocfg-gc-soft, #a855f7)) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.28);
  transform: translateY(-1px);
}

@media print {
  .rankology-seocfg-guide-topic-icon,
  .rankology-seocfg-inline-notice:before {
    display: none;
  }
}

.rankology-seocfg-guide-bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
  flex: 0 0 auto;
  background: #fff;
}

.rankology-seocfg-guide-bottombar-nav,
.rankology-seocfg-guide-bottombar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Self-contained button base/variant for the guide's own Previous/Next controls
   (.rankology-seocfg-guide-btn / -btn-outline). The modal markup uses these
   instead of the shared .rankology-gs-btn* classes so the guide's own chrome
   renders correctly even if admin/rankology-google-services/assets/css ever
   stops being enqueued on this page — visually matched to that shared style
   (same padding/radius/color) but with no external stylesheet dependency. */
.rankology-seocfg-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.rankology-seocfg-guide-btn-outline {
  background: #fff;
  color: var(--rk-seocfg-gc, #7c3aed);
  border-color: rgba(124, 58, 237, 0.35);
}

.rankology-seocfg-guide-btn-outline:hover {
  background: rgba(124, 58, 237, 0.06);
}

.rankology-seocfg-guide-prev,
.rankology-seocfg-guide-next {
  padding: 7px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.rankology-seocfg-guide-prev[disabled],
.rankology-seocfg-guide-next[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.rankology-seocfg-guide-icon-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.rankology-seocfg-guide-icon-btn:hover,
.rankology-seocfg-guide-icon-btn:focus-visible {
  color: var(--rk-seocfg-gc, #7c3aed);
  border-color: rgba(124, 58, 237, 0.4);
  background: transparent;
}

body.rankology-seocfg-modal-open {
  overflow: hidden;
}

@media (max-width: 782px) {
  .rankology-seocfg-guideline-trigger {
    position: static;
    margin-bottom: 10px;
  }

  .rankology-seocfg-guide-dialog {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .rankology-seocfg-guide-body {
    flex-direction: column;
  }

  .rankology-seocfg-guide-sidebar {
    width: 100%;
    flex: 0 0 auto;
    max-height: 40vh;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .rankology-seocfg-guide-topbar {
    flex-wrap: wrap;
  }

  .rankology-seocfg-guide-search {
    order: 3;
    flex: 1 1 100%;
  }
}

@media print {
  .rankology-seocfg-modal .rankology-seocfg-guide-topbar,
  .rankology-seocfg-modal .rankology-seocfg-guide-sidebar,
  .rankology-seocfg-modal .rankology-seocfg-guide-bottombar {
    display: none !important;
  }

  .rankology-seocfg-modal {
    position: static;
    background: #fff;
  }

  .rankology-seocfg-modal-backdrop {
    display: none !important;
  }

  .rankology-seocfg-modal-dialog {
    box-shadow: none;
    width: 100%;
    max-height: none;
  }

  .rankology-seocfg-guide-content {
    overflow: visible;
    padding: 0;
  }
}

/* ========== Paid Features (Pro upsell panel) ========== */
.rankology-paid-features {
    max-width: 1000px;
    margin: 0 auto;
}

.rankology-pro-hero {
    text-align: center;
    padding: 48px 32px;
    border-radius: 16px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--rankology-primary) 0%, var(--rankology-second-primary) 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(var(--rankology-primary-rgb), 0.25);
}

.rankology-pro-hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 28px;
    color: #ffd76a;
}

.rankology-pro-hero h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}

.rankology-pro-hero p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.92);
}

.rankology-pro-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 12px;
    background: #fff;
    color: var(--rankology-primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rankology-pro-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    color: var(--rankology-primary);
}

.rankology-pro-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.rankology-pro-feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rankology-pro-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.rankology-pro-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rankology-primary), var(--rankology-second-primary));
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.rankology-pro-feature-card h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--rankology-text-dark, #1f2937);
}

.rankology-pro-feature-card > p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 16px;
}

.rankology-pro-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rankology-pro-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
}

.rankology-pro-feature-list li i {
    color: var(--rankology-primary);
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.rankology-pro-footer-cta {
    text-align: center;
    padding: 32px 24px;
    border-radius: 14px;
    background: #f9f7ff;
    border: 1px dashed rgba(var(--rankology-primary-rgb), 0.3);
}

.rankology-pro-footer-cta p {
    font-size: 15px;
    font-weight: 600;
    color: var(--rankology-text-dark, #1f2937);
    margin: 0 0 16px;
}

.rankology-pro-cta-outline {
    background: transparent;
    color: var(--rankology-primary);
    border: 2px solid var(--rankology-primary);
    box-shadow: none;
}

.rankology-pro-cta-outline:hover {
    background: var(--rankology-primary);
    color: #fff;
}

@media (max-width: 640px) {
    .rankology-pro-hero {
        padding: 36px 20px;
    }

    .rankology-pro-hero h1 {
        font-size: 21px;
    }

    .rankology-pro-features-grid {
        grid-template-columns: 1fr;
    }
}
