/*
 * Table of important z-indizies
 * Our Tooltips: 160010
 * Our Modals: 160005
 * media-modal: 160000 (from WordPress)
 * full screen loading icon: 160006
 */

/*
 * Responsive Breakpoints:
 *  - min-width: 2200px, 1800px, 960px, 800px
 *  - max-width: 2480px, 1880px, 1480px, 1180px, 960px, 880px, 782px, 600px, 480px
 *  - calculated max-widths:
 *      calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)
 *      calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem) + 457px)
 *      calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)
 */

/* ========================================================================== */
/*  GLOBAL VARIABLES & BASE STYLES                                            */
/* ========================================================================== */

/* type: generic */
:root {
    --ai4seo-green: #21C653;
    --ai4seo-blue: #2271b1;
    --ai4seo-red: #e51010;
    --ai4seo-yellow: #fbca01;
    --ai4seo-gray: #888;
    --ai4seo-gray-dark: #555;
    --ai4seo-orange: #FFA500;
    --ai4seo-white: #ffffff;
    --ai4seo-black: #000000;
    --ai4seo-dark-text: #333333;
    --ai4seo-muted-text: #777777;
    --ai4seo-border-light: #dddddd;
    --ai4seo-border: #cccccc;
    --ai4seo-border-muted: #bbbbbb;
    --ai4seo-off-white: #fcfcfc;
    --ai4seo-teal: #21a6cf;
    --ai4seo-teal-light: #31b6df;
    --ai4seo-teal-dark: #1196bf;
    --ai4seo-dark-green: #0a8e1e;
    --ai4seo-orange-dark: #773300;
    --ai4seo-warning: #efefae;
    --ai4seo-warning-soft: #ffffde;
    --ai4seo-panel-bg: whitesmoke;
    --ai4seo-wordpress-bg: #f0f0f1;
    --ai4seo-sooz-ci-blue: #0066aa;
    --ai4seo-sooz-ci-blue-input: #1177bb;
    --ai4seo-sooz-ci-blue-input-light: #3399cc;
    --ai4seo-sooz-ci-blue-input-dark: #005599;
}

/* ========================================================================== */
/*  BRANDING & TEXT ELEMENTS                                                  */
/* ========================================================================== */

/* type: content — Admin shell → Branding labels */
.ai4seo-plugin-name {
    font-weight: bold;
    white-space: nowrap;
}

/* type: module — footnote label */
.ai4seo-sub-info {
    font-size: smaller;
    color: var(--ai4seo-gray);
}

/* type: content — Admin shell → Branding labels */
.ai4seo-local-mode-hint {
    color: var(--ai4seo-red);
    font-size: 0.5rem;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: -10px;
}

/* ========================================================================== */
/*  BADGES & VOUCHER STYLES                                                   */
/* ========================================================================== */

/* type: utility — badge color modifier */
.ai4seo-green-bubble,
/* type: utility — badge color modifier */
.ai4seo-red-bubble,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble {
    color: var(--ai4seo-white) !important;
}

/* type: utility — badge color modifier */
.ai4seo-green-bubble span,
/* type: utility — badge color modifier */
.ai4seo-red-bubble span,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble span {
    color: var(--ai4seo-white) !important;
}

/* type: utility — badge color modifier */
.ai4seo-green-bubble svg,
/* type: utility — badge color modifier */
.ai4seo-red-bubble svg,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble svg {
    fill: var(--ai4seo-white) !important;
}

/* type: utility — badge color modifier */
.ai4seo-green-bubble {
    background-color: var(--ai4seo-green);
}

/* type: utility — badge color modifier */
.ai4seo-red-bubble {
    background-color: var(--ai4seo-red);
}

/* type: utility — badge color modifier */
.ai4seo-blue-bubble {
    background-color: var(--ai4seo-sooz-ci-blue);
}

/* type: utility - badge color modifier */
.ai4seo-yellow-bubble {
    background-color: var(--ai4seo-yellow);
}

/* -- Status Dots & Scores ------------------------------------------------- */

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-green-dot {
    width: 10px;
    height: 10px;
    background-color: green;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-orange-dot {
    width: 10px;
    height: 10px;
    background-color: var(--ai4seo-orange);
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-red-dot {
    width: 10px;
    height: 10px;
    background-color: var(--ai4seo-red);
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-seo-score {
    font-weight: bold;
    display: inline-block;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-good-seo-score {
    color: green;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-ok-seo-score {
    color: var(--ai4seo-orange);
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-bad-seo-score, .ai4seo-very-bad-seo-score {
    color: var(--ai4seo-red);
}

/* type: module — voucher display */
.ai4seo-voucher-code-wrapper {
    margin-top: 1rem;
    border: 3px dashed #0a0;
    display: inline-block;
    border-radius: 10px;
}

/* type: module — voucher display */
.ai4seo-voucher-code-wrapper .ai4seo-voucher-code {
    color: #050;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 6px 20px;
    background-color: #7d7;
    text-align: left;
    display: inline-block;
    position: relative;
    border-radius: 8px;
}

/* type: module — clipboard feedback */
.ai4seo-copied-to-clipboard {
    display: none;
}

/* ========================================================================== */
/*  INTERACTIVE UTILITIES                                                     */
/* ========================================================================== */

/* type: module — icon */
.ai4seo-form-floating-textfield-icon-holder {
    position: absolute;
    top: 4px;
    right: 5px;
    padding: 5px;
    cursor: pointer;
}

/* type: utility — interaction disable */
.ai4seo-inactive-element {
    cursor: default !important;
    pointer-events: none !important;
}

/* type: utility — alignment */
.ai4seo-float-right {
    float: right;
}

/* ========================================================================== */
/*  ADMIN BAR SHORTCUTS                                                       */
/* ========================================================================== */

/* type: content — WordPress admin bar → Quick shortcuts */
#wp-admin-bar-ai4seo-edit, #wp-admin-bar-ai4seo-edit .ab-item, #wp-admin-bar-ai4seo-edit-mobile, #wp-admin-bar-ai4seo-edit-mobile .ab-item {
    cursor: pointer;
}

/* type: content — WordPress admin bar → Quick shortcuts */
#wp-admin-bar-ai4seo-edit .ab-item .ai4seo-icon {
    position: relative;
    float: left;
    padding: 2px 0;
    margin-right: 6px;
    margin-top: 6px;
    height: 16px;
}

/* type: utility — icon size modifier */
.ai4seo-medium-icon {
    height: 2rem !important;
    width: 2rem !important;
}

/* type: utility — icon size modifier */
.ai4seo-big-icon {
    height: 5rem !important;
    width: 5rem !important;
    margin-bottom: 1rem;
    opacity: .7;
}

/* type: utility — icon color accent */
.ai4seo-fill-green {
    fill: green;
}

/* ========================================================================== */
/*  SETTINGS PANELS                                                           */
/* ========================================================================== */

/* type: content — Settings → Automated generation panel */
.ai4seo-automated-generation-settings-wrapper {
    border: 1px solid var(--ai4seo-border);
    background-color: var(--ai4seo-white);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
    width: 100%;
    box-sizing: border-box;
}

/* type: content — Settings → Automated generation panel */
.ai4seo-is-advanced-setting {
    background-color: var(--ai4seo-warning-soft) !important;
}

/* type: content — Settings → Alt text injection controls */
#ai4seo-js-alt-text-injection-setting.ai4seo-js-alt-text-setting-hidden {
    display: none !important;
}

/* type: module — loading icon holder */
.ai4seo-hidden-loading-icon-holder {
    display: none;
    margin-left: .5rem;
}

.ai4seo-full-screen-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6); /* optional dim overlay */
    z-index: 160006; /* ensure it stays above all content */
    transform: scale(3);
}

/* ========================================================================== */
/*  LOADING STATES & LOCKING                                                  */
/* ========================================================================== */

/* type: module — loading icon holder */
.ai4seo-hidden-loading-icon-holder {
    display: none;
    margin-left: .5rem;
}

/* type: module — loading icon holder */
.ai4seo-hidden-loading-icon-holder svg {
    width: 1rem;
    height: 1rem;
}

/* type: utility — lock state */
.ai4seo-lockable {

}

/* type: utility — interaction disable */
.ai4seo-temporary-locked {
    pointer-events: none !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* ========================================================================== */
/*  LAYOUT & SPACING UTILITIES                                                */
/* ========================================================================== */

/* -- Clearing Helpers ----------------------------------------------------- */

/* type: utility — float clearing */
.ai4seo-clear-both {
    clear: both;
}

/* type: utility — float clearing */
.ai4seo-clear {
    clear: both;
    padding: 1em 0;
}

/* type: utility: clickable */
.ai4seo-clickable {
    cursor: pointer;
}

/* -- Gap Utilities -------------------------------------------------------- */

/* type: utility — spacing utility */
.ai4seo-gap {
    clear: both;
    padding: 1em 0;
    height: 1em;
    box-sizing: border-box;
}

/* type: utility — spacing utility */
.ai4seo-gap-zero {
    clear: both;
    padding: 0;
    height: 0;
    box-sizing: border-box;
}

/* type: utility — spacing utility */
.ai4seo-tiny-gap {
    margin-top: 5px;
    clear: both;
}

/* type: utility — spacing utility */
.ai4seo-small-gap {
    margin-top: 10px;
    clear: both;
}

/* type: utility — spacing utility */
.ai4seo-medium-gap {
    margin-top: 20px;
    clear: both;
}

/* type: utility — spacing utility */
.ai4seo-large-gap {
    margin-top: 40px;
    clear: both;
}

/* -- Directional Spacing Helpers ----------------------------------------- */

/* type: utility — spacing utility */
.ai4seo-gap-left {
    margin-left: 1em;
}

/* type: utility — spacing utility */
.ai4seo-gap-right {
    margin-right: 1em;
}

/* type: utility — spacing utility */
.ai4seo-gap-top {
    margin-top: 1em;
}

/* type: utility — spacing utility */
.ai4seo-gap-bottom {
    margin-bottom: 1em;
}

/* ========================================================================== */
/*  ICON SIZES & COLORS                                                       */
/* ========================================================================== */

/* -- Base Icon Styling ---------------------------------------------------- */

/* type: module — icon */
.ai4seo-icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.ai4seo-sooz-logo {
    width: auto;
    height: 1.2rem;
    line-height: 1.2rem;
    fill: var(--ai4seo-sooz-ci-blue) !important;
    margin-top: -.1rem;
}

.ai4seo-modal-headline-icon .ai4seo-sooz-logo {
    width: auto;
    height: 1.5rem;
    line-height: 1.5rem;
    fill: var(--ai4seo-sooz-ci-blue) !important;
    margin-top: -.4rem;
}

.column-ai-for-seo .ai4seo-sooz-logo {
    margin-bottom: -.3rem;
}

/* -- Icon Size Variations ------------------------------------------------- */

/* type: utility — icon size modifier */
.ai4seo-large-icon {
    width: 2rem !important;
    height: 2rem !important;
}

/* type: utility — icon size modifier */
.ai4seo-16x16-icon {
    width: 16px !important;
    height: 16px !important;
}

/* type: utility — icon size modifier */
.ai4seo-24x24-icon {
    width: 24px !important;
    height: 24px !important;
}

/* type: utility — icon size modifier */
.ai4seo-big-paragraph-icon {
    width: 24px;
    height: 24px;
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

/* -- Icon Color Variations ------------------------------------------------- */

/* type: utility — icon color accent */
.ai4seo-red-icon {
    /* svg color */
    fill: var(--ai4seo-red) !important;
}

/* type: utility — icon color accent */
.ai4seo-green-icon {
    /* svg color */
    fill: #00ff00 !important;
}

/* type: utility — icon color accent */
.ai4seo-dark-green-icon {
    /* svg color */
    fill: #008800 !important;
}

/* type: utility — icon color accent */
.ai4seo-blue-icon {
    /* svg color */
    fill: #0000ff !important;
}

/* type: utility — icon color accent */
.ai4seo-orange-icon {
    /* svg color */
    fill: #ffa500 !important;
}

/* type: utility — icon color accent */
.ai4seo-purple-icon {
    /* svg color */
    fill: #800080 !important;
}

/* type: utility — icon color accent */
.ai4seo-gray-icon {
    /* svg color */
    fill: #808080 !important;
}

/* type: utility — icon color accent */
.ai4seo-black-icon {
    /* svg color */
    fill: #000000 !important;
}

/* type: utility — icon color accent */
.ai4seo-white-icon {
    /* svg color */
    fill: #ffffff !important;
}

/* type: utility — icon color accent */
.ai4seo-light-gray-icon {
    /* svg color */
    fill: #d3d3d3 !important;
}

/* type: utility — icon color accent */
.ai4seo-dark-gray-icon {
    /* svg color */
    fill: #a9a9a9 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-blue-icon {
    /* svg color */
    fill: #add8e6 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-green-icon {
    /* svg color */
    fill: #90ee90 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-yellow-icon {
    /* svg color */
    fill: #ffffe0 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-red-icon {
    /* svg color */
    fill: #ffcccb !important;
}

/* type: utility — icon color accent */
.ai4seo-light-orange-icon {
    /* svg color */
    fill: #ffcccb !important;
}

/* type: utility — icon color accent */
.ai4seo-light-purple-icon {
    /* svg color */
    fill: #e6e6fa !important;
}

/* type: utility — icon color accent */
.ai4seo-light-pink-icon {
    /* svg color */
    fill: #ffb6c1 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-brown-icon {
    /* svg color */
    fill: #d2b48c !important;
}


/* ========================================================================== */
/*  ACCORDION COMPONENT                                                       */
/* ========================================================================== */

/* -- Accordion Container -------------------------------------------------- */

/* type: module — accordion */
.ai4seo-accordion-holder {
    clear: both;
    position: relative;
    min-width: 255px;
    max-width: 800px;
    margin-bottom: 1rem;
}

/* -- Accordion Elements --------------------------------------------------- */

/* type: module — accordion */
.ai4seo-accordion-holder .ai4seo-accordion-headline {
    padding: .7rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #eee;
    z-index: 2;
}

/* type: module — accordion */
.ai4seo-accordion-holder .ai4seo-accordion-content {
    display: none;
    z-index: 1;
    margin-top: -.5rem;
}

/* type: module — accordion */
.ai4seo-accordion-holder .ai4seo-accordion-content img {
    max-width: 100%;
}

/* type: content — Posts list → Key phrase column */
.ai4seo-key-phrase {
    font-size: smaller;
    color: var(--ai4seo-gray);
    font-weight: normal;
}

/* type: content — Posts list → Key phrase column */
.ai4seo-no-key-phrase {
    font-size: smaller;
    color: var(--ai4seo-red);
    font-style: italic;
    font-weight: normal;
}

/* ========================================================================== */
/*  FORM INPUTS                                                               */
/* ========================================================================== */

/* type: module — form control */
input.ai4seo-license-key-input, input.ai4seo-username-input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

/* type: content — Account & Settings → Credential fields */
textarea.ai4seo-license-key-box, textarea.ai4seo-username-box {
    width: 100%;
    font-family: 'Courier New', Courier, monospace !important;
    background-color: rgba(0, 0, 0, .1);
    text-align: center;
    font-size: 14px;
}

/* type: content — Account & Settings → Credential fields */
textarea.ai4seo-username-box {
    height: 26px;
}


/* ========================================================================== */
/*  NAVIGATION MENU                                                           */
/* ========================================================================== */

/* type: content — Admin shell → Navigation layout */
nav.ai4seo-menu-items-wrapper {
    border: 0;
    margin: 0;
    padding: 0;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item {
    padding: .5rem 1rem;
    width: 95%;
    margin-bottom: 1rem;
    font-weight: bold;
    border: 2px solid transparent;
    box-sizing: border-box;
    background-color: transparent;
    border-radius: .5rem;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item > i, a.ai4seo-menu-item > svg {
    margin-right: 1rem;
    color: #aaa;
    transform: scale(1.25);
    display: inline-block;
    fill: #aaa;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item > svg {
    width: 20px;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item > div {
    display: inline-block;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item:hover {
    background-color: #fff;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item {
    background-color: #eee !important;
    border: 2px solid #41c6ef !important;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item > i, a.ai4seo-active-menu-item > svg {
    color: #555;
    fill: #555;
    transform: scale(1.35);
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item > div {
    color: #000;
    transform: scale(1.1);
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item:hover {
    background-color: #eee;
}

/* type: content — Admin shell → Navigation layout */
div.ai4seo-content-wrapper {
    margin-left: 0;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-direction: column;
    flex: 1; /* Takes up the remaining space */
    padding: 0;
}

/* type: utility — responsive visibility (show) */
.ai4seo-visible-on-mobile {
    display: none;
}

/* type: utility — responsive visibility (hide) */
.ai4seo-hidden-on-mobile {
    display: block;
}

/* type: utility — layout max-width */
div.ai4seo-max-width-100 {
    max-width: 100%;
}

/* type: module — avatar */
.ai4seo-developer-avatar-wrapper {
    position: absolute;
    left: 6px;
    top: 6px;
    border-radius: 50%;
    border: 2px solid #b29a76;
    overflow: hidden;
    width: 30px;
    height: 30px;
}

/* type: module — avatar */
.ai4seo-developer-avatar-wrapper img {
    width: 30px;
    height: 30px;
}

/* type: module — badge */
.ai4seo-menu-counter {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 5px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: #d63638;
    color: #fff;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
    margin-left: 1rem;
    position: relative;
    bottom: -3px;
    font-weight: normal;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-statistics-card {
    padding: 1rem 1rem 0 1rem !important; /* decreased padding to compensate chart size */
    align-items: end !important;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-statistics-message-row {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-statistics-message-content {
    max-width: 800px;
    margin: 0 auto;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-retry-all-failed-wrapper {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
    box-sizing: border-box;
}


/* type: module — dashboard chart */
.ai4seo-chart-container {
    float: left;
    width: 255px;
    height: 130px;
    margin: 40px 20px;
    position: relative;
    transform: scale(1.2);
}

/* type: module — dashboard chart */
.ai4seo-chart-container > h4 {
    width: 255px;
    margin-top: 10px;
    margin-bottom: -5px;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-container {
    margin-top: -20px;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-chart-percentage {
    position: absolute;
    width: 255px;
    text-align: center;
    bottom: 32px;
    left: 0;
    font-size: 30px;
    font-weight: bold;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-chart-done {
    position: absolute;
    width: 255px;
    text-align: center;
    bottom: 5px;
    left: 0;
    font-size: 12px;
}


/* type: module — dashboard chart */
.ai4seo-half-donut-chart-sub-info {
    position: absolute;
    width: 255px;
    text-align: center;
    bottom: -12px;
    left: 0;
    font-size: 11px;
    color: var(--ai4seo-gray);
    text-decoration: underline;
    cursor: help;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-container {
    float: left;
    height: 110px;
    padding-left: 50px;
    padding-top: .5rem;
    padding-bottom: 2.5rem;
    min-width: 250px;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend {
    font-family: Arial, sans-serif;
    margin-top: 0;
    padding-left: 0;
    list-style: none;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0; /* Prevents the color box from shrinking */
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-text {
    flex-grow: 1; /* Allows the text to fill the remaining space */
    font-size: 14px;
    color: black;
}

/* type: content — Dashboard → SEO Autopilot status */
.ai4seo-caret-down, .ai4seo-caret-up {
    margin-left: .3rem;
    margin-top: -3px;
    display: inline-block;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container {
    width: 100%;
    margin-top: 0rem;
    text-align: center;
    position: relative;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > svg {
    width: 175px;
    height: 175px;
    fill: #aaa;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > .ai4seo-bulk-generation-status-inactive-logo {
    filter: grayscale(100%);
    opacity: .5;
    width: 150px;
    height: 150px;
    position: relative;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > .ai4seo-bulk-generation-status-active-logo {
    opacity: .75;
    width: 150px;
    height: 150px;
    position: relative;
}

/* type: content — Dashboard → SEO Autopilot status */
.ai4seo-bulk-generation-status-active-logo-triangle-exclamation svg {
    position: absolute;
    top: 0;
    left: calc(50% + 75px);
    width: 32px;
    height: 32px;
    fill: var(--ai4seo-red);
    opacity: .5;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-animated-logo-container {
    width: 100%;
    height: 160px;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > div.ai4seo-bulk-generation-status-text {
    margin-top: 1.5rem;
    font-size: 2rem;
    color: #888;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-subtext {
    margin-top: 1.2rem;
    font-size: .9rem;
    color: #555;
    min-height: 3rem;
}

/* type: module — icon */
.ai4seo-handshake-icon {
    float: left;
    margin-right: 1.5rem;
    fill: #aaa;
    width: 75px;
    height: 75px;
}

/* type: module — icon */
i.ai4seo-menu-item-icon {
    margin-right: 5px;
    color: #555;
}

.ai4seo-menu-items-wrapper .ai4seo-menu-item-icon {
    margin-top: 3px;
}

/* type: module — icon */
img.ai4seo-menu-item-icon {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-card {
    padding: 1.75rem;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-card-inner {
    display: flex;
    gap: 1.75rem;
    align-items: start;
    margin-top: 1.5rem;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--ai4seo-green);
    background: linear-gradient(135deg, #4b82f0, #884bff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 10px 10px 25px rgba(92, 113, 255, 0.25);
    overflow: hidden;
}

.ai4seo-dashboard-expert-avatar > img {
    width: 72px;
    height: 72px;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-name {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--ai4seo-dark-text) !important;
}

.ai4seo-dashboard-expert-name .ai4seo-online-status-badge {
    margin-left: .7rem;
    vertical-align: top;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-button {
    width: fit-content;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-secondary {
    margin: 0;
    color: #5f6368;
    font-size: .85rem;
}

/* type: content — Dashboard → Expert concierge card */
@media (max-width: 960px) {
    .ai4seo-dashboard-expert-card-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ai4seo-dashboard-expert-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    .ai4seo-dashboard-expert-button {
        width: 100%;
        text-align: center;
    }
}

/* type: content — Dashboard → Recent plugin updates */
img.ai4seo-inline-logo {
    width: 24px;
    height: 24px;
    margin-bottom: -7px;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content {
    margin-top: 1.5rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content div.ai4seo-recent-plugin-updates-title {
    margin-top: 2rem;
    margin-bottom: .5rem;
    margin-left: -1rem;
    padding: .5rem 1rem;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-important-title {
    font-weight: bold;
    color: #0000aa;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-changelog-entry-content {
    padding-left: 1rem;
    border-left: 1px solid #ddd;
    margin-top: -.5rem;
    padding-top: .1rem;
    margin-bottom: 1.5rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content li {
    margin-bottom: 1rem;
    list-style-type: disc;
    padding-left: .5rem;
    position: relative;
    color: #333;
    margin-left: -3px;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content ul > li > ul {
    margin-top: .5rem;
    margin-bottom: 1.2rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content ul > li > ul > li {
    margin-bottom: .5rem;
    list-style-type: "–";
    padding-left: 1rem;
    margin-left: .5rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content li::marker {
    color: #777;
}

/* Recent Plugin Updates Collapsible Styles */
/* type: content — Dashboard → Recent plugin updates */
.ai4seo-changes-count {
    font-size: smaller;
    color: var(--ai4seo-gray);
    margin-left: 10px;
    font-weight: normal;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-changelog-entry-content {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-recent-plugin-updates-content div.ai4seo-recent-plugin-updates-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-recent-plugin-updates-content div.ai4seo-recent-plugin-updates-title:hover {
    background-color: #f9f9f9;
    border-radius: 3px;
}


/* type: content — Dashboard → Recent plugin updates */
.ai4seo-payg-confirmation-checkbox {
    margin-right: 1rem !important;
    transform: scale(1.4);
    display: inline-block;
    height: 3rem;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-confirmation-checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-confirmation-checkbox-container-left {
    flex-grow: 1;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-confirmation-checkbox-container-right {
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-confirmation-checkbox-container-right > label {
    font-size: larger;
}



/* === AI4SEO FORM =========================================================================== */

/* type: module — form layout */
.ai4seo-form {
    padding-bottom: 3rem; /* Extra space for bottom-aligned buttons */
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form {
    padding-bottom: 0;
}

/* type: module — form layout */
.ai4seo-form+.ai4seo-form {
    margin-top: -2rem;
}

/* type: module — form layout */
.ai4seo-editor-form {
    margin-top: 2rem;
}

/* type: module — form layout */
.ai4seo-form-section {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 2rem;
    padding: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: .5rem;
}

/* type: module — form layout */
.ai4seo-form-section > h2 {
    margin: 0 !important;
    margin-bottom: 1.5rem !important;
    width: 100%;
    background-color: #eee;
    padding: .7rem 1rem;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    border-radius: .5rem .5rem 0 0;
}

/* type: module — form layout */
.ai4seo-form-section > h2 svg {
    fill: var(--ai4seo-gray);
    margin-right: 7px;
    margin-top: -2px;
    height: 28px !important;
}

/* type: module — form layout */
.ai4seo-form-section > h2 i {
    color: #555;
    margin-right: 15px;
    margin-top: -4px;
    font-size: 28px !important;
}

.ai4seo-form-section+.ai4seo-button {
    top: -1rem !important;
}

/* type: module — form layout */
.ai4seo-form-item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap; /* Ensure that items can wrap */
    font-size: .9rem;
    line-height: 1.4rem;
    padding: 0 2rem 1.5rem 2rem;
    border-radius: .5rem;
}

/* type: module — form layout */
.ai4seo-form-item p {
    font-size: .9rem;
    line-height: 1.4rem;
}

/* type: module — form layout */
.ai4seo-form-item-divider {
    border-top: 1px solid #eee;
    padding-bottom: 1rem;
    margin: 0;
    border-bottom: 0;
}

/* type: module — form layout */
.ai4seo-form-item > label {
    flex-shrink: 0;
    margin-right: .7rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: normal;
    line-height: 150%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    width: 300px;
}

/* type: module — icon */
.ai4seo-form-item > label > .ai4seo-24x24-icon {
    margin-top: -3px;
    margin-right: 3px;
}

/* type: module — form layout */
.ai4seo-form-item-input-wrapper {
    flex-grow: 1;
}

/* type: module — form layout */
.ai4seo-form-item-input-wrapper > label {
    max-width: 620px;
    display: block;
}

/* type: module — form layout */
.ai4seo-form-item-description {
    color: var(--ai4seo-gray-dark);
    max-width: 620px;
    margin-top: 20px;
    display: block;
    margin-bottom: 0 !important;
    text-align: justify;
}

/* type: module — form layout */
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]),
.ai4seo-form-item-input-wrapper select,
.ai4seo-form-item-input-wrapper textarea {
    padding: 8px 14px !important;
    width: 100%;
    background-color: white !important;
    color: black !important;
    box-sizing: border-box !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    margin-bottom: 0 !important;
    line-height: 1.6 !important;
    font-size: 1rem;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.ai4seo-auto-resize-textarea {
    transition: height .15s ease;
    min-height: auto;
    height: auto;
}

/* type: module — form layout */
.ai4seo-form-item-input-wrapper .ai4seo-file-input {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    font-size: 1rem !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* type: module — form layout */
.ai4seo-form-multiple-inputs {
    display: block;
    margin-bottom: .5rem;
    margin-left: 1.1rem;
}

/* type: content — Editor → AI form layout */
.ai4seo-select-all-checkbox-label {
    transform: scale(1.2);
    transform-origin: left;
    margin-left: 0;
    max-width: 80% !important;
}

/* type: module — form layout */
.ai4seo-contact-form {
    max-width: 520px;
    margin-top: 30px;
}

/* type: module — form layout */
.ai4seo-contact-form .ai4seo-form-item > label {
    width: 150px;
}

/* type: module — form layout */
.ai4seo-disabled-form-input {
    pointer-events: none !important;
    opacity: .7 !important;
}

/* type: content — Editor → AI form layout */
.ai4seo-prefix-suffix-setting-holder {
    margin-top: 0;
    margin-bottom: 10px;
}

/* type: content — Editor → AI form layout */
.ai4seo-prefix-suffix-setting-holder .ai4seo-prefix-suffix-setting-headline {
    margin-bottom: 3px;
    font-weight: 600;
}


/* ========================================================================== */
/*  CONTENT LIST FILTER BAR                                                   */
/* ========================================================================== */

/* type: module — Content listings → Filter bar wrapper */
.ai4seo-filter-bar {
    margin: 0 0 1rem;
}

/* type: module — Content listings → Filter bar layout */
.ai4seo-filter-bar__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

/* type: module — Content listings → Filter bar field label */
.ai4seo-filter-bar__label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    font-weight: 600;
}

/* type: module — Content listings → Filter inputs */
.ai4seo-filter-bar__label input,
.ai4seo-filter-bar__label select {
    min-width: 220px;
    max-width: 100%;
}

/* type: module — Content listings → Filter actions */
.ai4seo-filter-bar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
}

/* type: module — Content listings → Filter action buttons */
.ai4seo-filter-bar__actions .button {
    margin: 0;
}

@media (max-width: 782px) {
    /* type: module — Content listings → Responsive filter layout */
    .ai4seo-filter-bar__fields {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    /* type: module — Content listings → Responsive labels */
    .ai4seo-filter-bar__label {
        width: 100%;
    }

    /* type: module — Content listings → Responsive actions */
    .ai4seo-filter-bar__actions {
        width: 100%;
        justify-content: flex-start;
    }

    /* type: module — Content listings → Responsive buttons */
    .ai4seo-filter-bar__actions .button {
        width: 100%;
    }
}


/* === Media queries ========================================================================= */

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item {
    flex-direction: column;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item > label {
    width: 100%;
    margin-right: 0;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item-input-wrapper {
    width: 100%;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item-description {
    margin-top: 20px;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-section {
    width: 100%;
    max-width: 100%;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-section .ai4seo-form-item {
    padding: 1rem 1.5rem;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item-divider {
    margin-top: 1rem;
    margin-bottom: .5rem;
}



/* === no borders ================================================================================= */

/* type: content — Editor → Borderless form variant */
.ai4seo-no-borders {
    border: none !important;
    box-shadow: none !important;
}

/* type: module — form layout */
.ai4seo-no-borders .ai4seo-form-section {
    padding: 0 0 1rem 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

/* type: module — form layout */
.ai4seo-no-borders .ai4seo-form-item {
    padding: 1rem 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* type: module — form layout */
.ai4seo-no-borders .ai4seo-form-item-divider {
    border-top: none !important;
    border-bottom: none !important;
    margin-top: .5rem !important;
    margin-bottom: 0 !important;
}



/* === Help content ========================================================================== */

/* type: module — help module */
.ai4seo-help-selection-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 1.5rem;
}

/* type: module — help module */
.ai4seo-help-selection-container a {
    text-decoration: none;
}

/* type: module — faq block */
.ai4seo-help-content, .ai4seo-faq-section-holder {
    display: flex;
    flex-direction: column; /* Stack items vertically */
}

/* type: module — help module */
.ai4seo-help-content h1 {
    margin-bottom: 1rem;
}

/* type: module — help module */
.ai4seo-help-preview-selection {
    min-width: 235px;
    min-height: 235px;
    width: 235px;
    height: 235px;
    background: #eee;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    flex: auto;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: .5rem;
}

/* type: module — help module */
.ai4seo-help-preview-selection:hover {
    background: #f9f9f9;
}

/** 100% width if the display is < 960px */
@media (max-width: 960px) {
/* type: module — help module */
    .ai4seo-help-preview-selection {
        width: 100%;
        margin-right: 0;
    }
}

/* type: module — icon */
.ai4seo-help-preview-selection i.dashicons {
    font-size: 10em;
    display: block;
    margin: 0 auto 20px auto;
    width: 100%;
    height: 65%;
    line-height: 200px;
    color: var(--ai4seo-gray);
}

/* type: module — help module */
.ai4seo-help-preview-selection svg {
    display: block;
    margin: 47px auto 25px auto;
    width: 45%;
    height: 45%;
    line-height: 200px;
    fill: var(--ai4seo-gray);
}

/* type: module — help module */
.ai4seo-help-preview-selection span {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: #555;
}

/* type: module — help module */
.ai4seo-help-search-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
    max-width: 520px;
    white-space: nowrap;
    padding-right: 15px;
    position: relative;
}

/* type: module — help module */
.ai4seo-help-search-wrapper svg {
    width: 1.5em;
    height: 1.5em;
    margin: 10px 0;
    fill: #665;
    position: absolute;
    left: 10px;
}

/* type: module — help module */
.ai4seo-help-search {
    width: 100%;
    min-width: 255px;
    max-width: 520px;
    height: 40px;
    padding-left: 2.5em !important;
}

/* === Other styles ========================================================================== */

/* type: utility — visibility toggle */
.ai4seo-display-none {
    display: none;
}



/* Datetime picker styling for SEO Autopilot */
/* type: content — Dashboard → SEO Autopilot scheduling */
.ai4seo-datetime-picker-container {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* type: content — Dashboard → SEO Autopilot scheduling */
.ai4seo-datetime-picker-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1d2327;
}

/* type: content — Dashboard → SEO Autopilot reminder */
.ai4seo-generated-data-reminder-container {
    margin-bottom: 1.5rem;
}

/* type: content — Dashboard → SEO Autopilot reminder */
.ai4seo-generated-data-reminder-container strong {
    display: block;
    margin-bottom: .5rem;
    color: var(--ai4seo-dark-text);
}

/* type: utility — inline button */
.ai4seo-inline-text-button {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    color: #6295c8 !important;
    text-decoration: underline !important;
    box-shadow: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* type: utility — inline button */
.ai4seo-inline-text-button:hover,
.ai4seo-inline-text-button:focus {
    color: var(--ai4seo-dark-text) !important;
    background: none !important;
}

/* type: content — Dashboard → SEO Autopilot reminder */
.ai4seo-remove-generated-data-action-container {
    margin-top: 1rem;
}

/* type: module — button */
.ai4seo-danger-button {
    background-color: var(--ai4seo-red) !important;
    border-color: var(--ai4seo-red) !important;
    color: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-danger-button:hover {
    background-color: #c40000 !important;
    border-color: #c40000 !important;
}

/* type: module — form control */
.ai4seo-datetime-picker-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #1d2327;
}

/* type: module — form control */
.ai4seo-datetime-picker-input:focus {
    border-color: var(--ai4seo-blue);
    outline: none;
    box-shadow: 0 0 0 1px var(--ai4seo-blue);
}



/* === ADMIN MENU =========================================================================== */

/* type: content — WordPress admin menu → Plugin icon */
#wpadminbar .ai4seo-main-menu-icon {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDUwMC4wMDAwMDAgNTAwLjAwMDAwMCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsNTAwLjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIgZmlsbD0iI2RkZGRkZCIgc3Ryb2tlPSJub25lIj48cGF0aCBkPSJNMjE0NSA0NzU1IGw3IC0yNDUgLTg0MyAtMiAtODQ0IC0zIC0zIC04MjcgLTIgLTgyOCAtMjMwIDAgLTIzMCAwIDAgLTM0NSAwIC0zNDUgMjMwIDAgMjMwIDAgMiAtMjIgYzEgLTEzIDIgLTM4NyAzIC04MzMgbDAgLTgxMCA4MzggLTMgODM3IC0yIDAgLTI0NSAwIC0yNDUgMzUwIDAgMzUwIDAgMCAyNDUgMCAyNDUgODQwIDAgODQwIDAgMiAzMDggYzEgMTY5IDEgNTM5IDAgODIyIC0xIDI4MyAxIDUyMiAzIDUzMCA0IDEzIDM4IDE1IDI0MCAxMiBsMjM1IC0zIDAgMzQ1IDAgMzQ2IC0yMzcgMiAtMjM4IDMgLTMgODI4IC0yIDgyNyAtODQwIDAgLTg0MCAwIDAgMjQ1IDAgMjQ1IC0zNTEgMCAtMzUxIDAgNyAtMjQ1eiBtMzQ0IC0xMTQzIGM1IC0xMCAyMSAtNjMgMzUgLTExOCAzNiAtMTQyIDEwNCAtMzc1IDExMCAtMzgyIDEwIC0xMCAxOCA2IDMxIDYwIDggMjkgMzIgMTI1IDU1IDIxMyAyNCA4OCA0NSAxNzQgNDcgMTkwIDMgMTcgMTAgMzYgMTUgNDMgOCA5IDEyNCAxMiA1MTkgMTIgNDAxIDAgNTA5IC0zIDUwOSAtMTIgLTEgLTcgMSAtMTY4IDQgLTM1OCA0IC0yNTEgOCAtMTU5NSA2IC0xOTAyIDAgLTE3IC00MyAtMTggLTc1NCAtMTggbC03NTQgMCAtOTcgMTQ1IGMtNTQgODAgLTEwMSAxNDUgLTEwNCAxNDUgLTQgMCAtMjUgLTI0IC00NiAtNTIgLTQ3IC02MyAtMTUwIC0xOTYgLTE3MCAtMjIwIC0xNCAtMTcgLTQ4IC0xOCAtNDYzIC0xOCAtMjQ3IDAgLTQ1MSAzIC00NTUgNiAtMyAzIDIgMjkgMTMgNTggMTAgMjggMzQgMTAzIDU1IDE2NiAxMjQgMzkzIDY2MSAyMDEyIDY3NyAyMDQzIDggMTYgMzcgMTcgMzgzIDE3IDM1MSAwIDM3NSAtMSAzODQgLTE4eiIvPjxwYXRoIGQ9Ik0xOTA3IDMwODggYy0xMDIgLTI5OSAtMTg5IC01NTMgLTI0NyAtNzE4IC02MyAtMTc5IC0xOTUgLTU2MyAtMjEwIC02MTMgbC05IC0yOCAxNDEgMyAxNDEgMyA0MSAxMjUgNDEgMTI1IDI5NiAzIDI5NiAyIDM5IC0xMzAgMzggLTEzMCAxNDMgMCBjNzkgMCAxNDMgMiAxNDMgNCAwIDYgLTgwIDI0MCAtMTE1IDMzNiAtMTQgNDEgLTUxIDE0MyAtODAgMjI1IC0yOSA4MyAtNzAgMTk1IC05MCAyNTAgLTM3IDEwMiAtMjM1IDY2NyAtMjM1IDY3MiAwIDIgLTY1IDMgLTE0NCAzIGwtMTQzIDAgLTQ2IC0xMzJ6IG0yMDMgLTI0MSBjMCAtOCA0MyAtMTQzIDk1IC0zMDIgNTIgLTE1OCA5NSAtMjk0IDk1IC0zMDEgMCAtMTEgLTM4IC0xNCAtMjA1IC0xNCAtMTM2IDAgLTIwNSA0IC0yMDUgMTAgMCAyNSAyMDIgNjIwIDIxMSA2MjAgNSAwIDkgLTYgOSAtMTN6Ii8+PHBhdGggZD0iTTMxMjYgMjQ4NCBjLTMgLTQwNCAtNCAtNzQwIC0xIC03NDUgNCAtNSA2NyAtOSAxNDEgLTkgbDEzNCAwIDAgNzQ1IDAgNzQ1IC0xMzMgMCAtMTM0IDAgLTcgLTczNnoiLz48L2c+PC9zdmc+);
    background-position: 0 6px;
    background-repeat: no-repeat;
    background-size: 20px;
    float: left;
    height: 30px;
    width: 28px;
}

/* === AI4SEO TOS =========================================================================== */

/* type: module — tos layout */
.ai4seo-tos-plugin-logo {
    max-height: 30px;
}

/* type: module — tos layout */
.ai4seo-tos-checkbox {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 150%;
    gap: 10px; /* Adjust the space between the checkbox and the label */
    position: relative;
}

/* type: module — form control */
.ai4seo-tos-checkbox input {
    margin-top: 1px; /* Optional: Align the checkbox vertically with the label text */
}

/* type: module — tos layout */
.ai4seo-tos-checkbox label {
    flex: 1; /* Ensures the label text takes up the remaining space */
}

/* type: module — tos layout */
.ai4seo-tos-box h2 {
    margin-top: 20px !important;
    text-transform: uppercase;
    font-family: Roboto, Open Sans, sans-serif !important;
}

/* type: module — tos layout */
.ai4seo-tos-version-number {
    font-size: small;
    color: var(--ai4seo-gray);
    white-space: nowrap;
}

/* type: module — tos layout */
.ai4seo-tos-box ol {
    list-style-type: decimal;
}

/* type: module — tos layout */
.ai4seo-tos-box ol li::marker {
    font-weight: bold;
    color: var(--ai4seo-gray);
}



/**********************************************************************************************************************/
/*** ANIMATIONS *******************************************************************************************************/
/**********************************************************************************************************************/

/* ========================================================================== */
/*  LAYOUT & SIDEBAR                                                          */
/* ========================================================================== */

/* type: module — layout shell */
.ai4seo-sidebar-headline .ai4seo-sooz-logo {
    width: 9rem;
    height: 5rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* type: module — layout shell */
.ai4seo-top-bar-headline .ai4seo-sooz-logo {
    height: 2rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* Dashboard */
/* type: module — layout shell */
.ai4seo-sidebar-version-number {
    font-size: small;
    font-weight: normal;
    color: var(--ai4seo-gray);
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    pointer-events: none;
}

@media (min-width: 960px) {
/* type: module — layout shell */
    .ai4seo-sidebar {
        min-height: calc(100vh - 4rem);
    }
}

@media (max-width: 960px) {
/* type: module — layout shell */
    .ai4seo-sidebar-version-number {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* type: content — Dashboard → Overview layout */
.ai4seo-wrap {
    position: relative; /* oder static */
    height: auto;
    min-height: calc(100vh - 4rem); /* Adjusted for the top bar height */
    left: -20px;
    top: 0;
    display: flex;
    width: calc(100% + 20px);
    box-sizing: border-box;
    padding: 2rem 1.3rem 0 2rem;
    margin: 0;
    background-color: var(--ai4seo-wordpress-bg);
}

/* type: module — layout shell */
.ai4seo-mobile-top-bar {
    display: none;
    width: calc(100% + 20px);
    height: 4rem;
    background-color: #fff;
    margin-left: -20px;
    border-bottom: 1px solid #ccc;
    position: absolute;
    z-index: 11;
}

/* type: module — button */
.ai4seo-mobile-top-bar-toggle-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 5rem;
    height: 4rem;
    background-color: #eee;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-right: 1px solid #ccc;
    text-align: center;
    z-index: 2;
}

/* type: module — layout shell */
div.ai4seo-top-bar-headline {
    font-size: 1.5rem;
    padding-top: 1rem;
    width: calc(100% - 2rem);
    text-align: center;
    font-weight: bold;
    position: relative;
    z-index: 1;
    margin-left: 2rem; /* account for the toggle button */
}

/* type: module — layout shell */
.ai4seo-mobile-top-bar .ai4seo-local-mode-hint {
    top: .5rem;
    right: 4rem;
}

/* type: module — button */
.ai4seo-mobile-top-bar-toggle-button svg {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    fill: var(--ai4seo-gray);
    margin-left: .5rem;
}

/* type: module — layout shell */
.ai4seo-sidebar {
    width: 260px;
    overflow-y: auto;
    flex-shrink: 0; /* Ensures the sidebar does not shrink */
    padding-right: 1.6rem;
    margin-left: -2rem;
    padding-left: 1.5rem;
    margin-top: -.5rem;
    z-index: 10;
    box-sizing: border-box;
    position: sticky;
    top: 4rem;
    align-self: flex-start;
    background-color: var(--ai4seo-wordpress-bg);
}

/* type: module — layout shell */
div.ai4seo-sidebar-headline {
    font-size: 1.5rem;
    margin: 1rem 0 2.5rem 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    position: relative;
}

@media (max-width: 960px) {
/* type: utility — responsive visibility (show) */
    div.ai4seo-visible-on-mobile {
        display: block;
    }

/* type: utility — responsive visibility (show) */
    span.ai4seo-visible-on-mobile {
        display: inline;
    }

/* type: utility — responsive visibility (hide) */
    .ai4seo-hidden-on-mobile {
        display: none;
    }

/* type: module — layout shell */
    .ai4seo-mobile-top-bar {
        display: block;
    }

/* type: content — Dashboard → Overview layout */
    .ai4seo-wrap {
        padding-top: 5rem; /** account for the top bar */
        height: auto;
    }

/* type: module — layout shell */
    div.ai4seo-content-wrapper {
        height: calc(100vh - 8rem);
    }

/* type: module — layout shell */
    .ai4seo-sidebar {
        height: auto;
        left: -300px;
        position: absolute;
        padding-bottom: 1.5rem;
    }

/* type: module — layout shell */
    .ai4seo-sidebar-open {
        left: 42px !important;
        background-color: #fff;
        border-right: 1px solid #ccc;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        padding-left: 1.5rem;
        margin-top: -0;
        padding-top: 1.5rem;
        border-radius: 0 0 .5rem 0;
    }

/* type: module — navigation link */
    a.ai4seo-menu-item {
        padding: .5rem;
        margin-bottom: .1rem;
        width: 100%;
    }

/* type: module — layout shell */
    .ai4seo-content-wrapper {
        margin-left: 0;
    }
}

/* ========================================================================== */
/*  DASHBOARD & CARDS                                                         */
/* ========================================================================== */

/* type: module — badge */
.ai4seo-subscription-badge {
    color: green;
    font-size: 1.1rem;
    line-height: 2rem;
    margin-top: .5rem;
    margin-bottom: 0.5rem;
    padding: .5rem 1.5rem;
    background-color: whitesmoke;
    border-radius: 3rem;
    display: inline-block;
}

/* type: utility — plan requirement badge */
.ai4seo-plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 600;
    border: 1px solid var(--ai4seo-border-light);
    background-color: var(--ai4seo-off-white);
    color: var(--ai4seo-dark-text);
    vertical-align: middle;
    white-space: nowrap;
}

/* type: utility — plan requirement badge icon */
.ai4seo-plan-badge .ai4seo-icon,
.ai4seo-plan-badge-icon {
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    flex-shrink: 0;
}

/* type: utility — plan requirement badge (Basic) */
.ai4seo-plan-badge-basic {
    background-color: rgba(229, 134, 0, 0.3);
    border-color: rgba(229, 134, 0, 0.5);
    color: var(--ai4seo-orange-dark);
}

/* type: utility — plan requirement badge (Pro) */
.ai4seo-plan-badge-pro {
    background-color: rgba(150, 150, 150, 0.1);
    border-color: rgba(150, 150, 150, 0.3);
    color: var(--ai4seo-gray-dark);
}

/* type: utility — plan requirement badge (Premium) */
.ai4seo-plan-badge-premium {
    background-color: rgba(251, 250, 1, 0.3);
    border-color: rgba(150, 150, 1, 0.6);
    color: #6a3b00;
}

/* type: module — badge */
.ai4seo-subscription-badge svg {
    width: 1.8rem;
    height: 1.8rem;
    margin-left: -.7rem;
    margin-right: .4rem;
    margin-top: -.2rem;
}

/* type: module — subscription info */
.ai4seo-plan-name {
    font-size: x-large;
    margin-top: 25px;
}

/* type: module — card */
div.ai4seo-cards-container {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem));
}

/* type: module — card */
div.ai4seo-card {
    color: black;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: .5rem;
    box-sizing: border-box;
    flex: 1 1 100%;
    max-width: calc(512px + 4rem);
    padding: 2rem;
    text-align: left;
    line-height: 1.4rem;
    font-size: 1rem;
    /*max-height: fit-content;*/
}

div.ai4seo-card p {
    font-size: 1rem;
    line-height: 160%;
    margin: 0;
}

/* type: module — card */
div.ai4seo-centered-card {
    flex: 1 1 100%;
    display: flex; /* Enable Flexbox */
    flex-wrap: wrap; /* Allow elements to wrap to the next row */
    justify-content: center; /* Center elements horizontally in their row */
    gap: 0;
}

/* type: module — card */
div.ai4seo-2-rows-card {
    flex: 1 0 calc(66.666% - 1rem); /* Occupy two rows' worth of space */
    max-width: calc(512px + 4rem); /* Ensure it aligns with other cards */
    gap: 0;
}

/* type: module — card */
div.ai4seo-fully-centered-card {
    flex: 1 1 100%;
    display: flex; /* Enable Flexbox */
    flex-wrap: wrap; /* Allow elements to wrap to the next row */
    align-items: center; /* Center elements vertically in their row */
    justify-content: center; /* Center elements horizontally in their row */
}

/* type: module — card */
div.ai4seo-three-column-card {
    max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem));
}

@media (max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)) {
/* type: module — card */
    div.ai4seo-three-column-card {
        max-width: calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem));
    }
}

/* type: module — card */
.ai4seo-card h1, .ai4seo-card h2, .ai4seo-card h3, .ai4seo-card h4, .ai4seo-card h5 {
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
}

/* type: module — card */
.ai4seo-card h4 {
    width: 100%;
    text-align: center;
    font-size: .75rem;
    letter-spacing: .12rem;
}

/* type: module — card */
.ai4seo-card div, .ai4seo-card p, .ai4seo-card pre, .ai4seo-card span {
    color: black;
}

/* type: module — card */
.ai4seo-card h1:first-of-type, .ai4seo-card h2:first-of-type, .ai4seo-card h3:first-of-type, .ai4seo-card h4:first-of-type, .ai4seo-card h5:first-of-type {
    margin-top: 0;
}

/* type: content — Dashboard → Status summary card */
div.ai4seo-status-box {
    border: 1px solid #ccc;
    /** gradient background */
    background: #fff;
    border-radius: .5rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

/* type: content — Dashboard → Highlight banner */
div.ai4seo-status-box h5:first-of-type {
    margin-top: 0;
}

/* type: content — Dashboard → Highlight banner */
div.ai4seo-status-box h5 {
    margin-top: 1rem;
    margin-bottom: .5rem;
    font-weight: bold;
}

/* type: content — Dashboard → Highlight banner */
div.ai4seo-status-box-credits {
    font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem) + 457px)) {
/* type: module — card */
    div.ai4seo-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Dashboard */
/* type: module — progress indicator */
.ai4seo-consumption-background, .ai4seo-seo-coverage-progress-bar {
    background-color: white;
    min-height: 10px;
    color: #333;
    padding: 2px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* type: module — progress indicator */
.ai4seo-seo-coverage-progress-bar {
    margin-bottom: 5px;
}

/* type: module — progress indicator */
.ai4seo-consumption-progress, .ai4seo-seo-coverage-inner-progress-bar {
    background-color: var(--ai4seo-green) !important;
    min-height: 10px;
    color: #fff;
    border-radius: 3px;
    box-sizing: border-box;
    line-height: 100%;
}

/* type: module — progress indicator */
.ai4seo-consumption-progress-orange {
    background-color: var(--ai4seo-orange) !important;
}

/* type: module — progress indicator */
.ai4seo-consumption-progress-red {
    background-color: var(--ai4seo-red) !important;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-container {
    text-align: center;
    width: 100%;
    height: 120px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-number {
    font-size: 4rem;
    font-weight: bold;
    color: black;
    margin-top: 2rem;
    height: 4rem;
    line-height: 1;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-number svg {
    width: 3rem;
    height: 3rem;
    margin-right: 0.5rem;
    vertical-align: baseline;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-next-free-credits-container {
    margin-top: 1rem;
}

div.ai4seo-next-free-credits-container .ai4seo-credits-usage-badge {
    padding: 4px 8px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-generation-costs-info {
    width: 100%;
    color: var(--ai4seo-gray);
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-flow: column;
    margin-top: 2rem;
}

div.ai4seo-credits-generation-costs-info .ai4seo-credits-usage-badge {
    font-size: .95rem;
    padding: 2px 10px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-generation-costs-info h4 {
    margin-bottom: 0;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-generation-costs-info li {
    text-align: center;
    margin-bottom: 1rem;
}

.ai4seo-upscaled-inline-icon {
    display: inline-block;
    transform: scale(1.8);
    transform-origin: right;
    margin-top: -2px;
    margin-right: -2px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-how-to-get-credits-container {
    width: 100%;
    text-align: center;
    position: relative;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-how-to-get-credits-container h4 {
    cursor: pointer;
    margin-bottom: 0;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section:first-of-type {
    margin-top: 2rem;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-top: 1.5rem;
    min-height: 7rem;
    text-align: left;
    display: flex;
    align-items: stretch; /* Ensures both children have the same height */
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section > div.ai4seo-get-more-credits-section-left {
    margin-right: .5rem;
    margin-left: 1rem;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section > div.ai4seo-get-more-credits-section-right {
    flex: 1;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section-big-number {
    float: left;
    font-size: 5rem !important;
    line-height: 4rem !important;
    padding-bottom: 3rem;
    color: #ccc;
    width: 4.5rem;
    text-align: left;
    font-style: italic;
    min-height: 85px;
    font-weight: bold;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section-big-title {
    color: var(--ai4seo-gray);
    font-style: italic;
    font-weight: bold;
    font-size: 1.2rem !important;
    display: block;
    margin-bottom: .5rem;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-container {
    width: 100%;
    display: inline-block;
    position: relative;
    max-height: 360px;
    overflow-y: auto;
    box-sizing: border-box;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: .8rem .8rem .8rem 0;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}

/* type: module — icon */
div.ai4seo-latest-activity-item-icon {
    width: 6rem;
    max-width: 2.7rem;
}

/* type: module — icon */
div.ai4seo-latest-activity-item-icon i {
    font-size: 2rem;
    margin-top: .3rem;
    color: #888;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-item-text {
    font-size: smaller;
    flex-grow: 1;
    color: #555;
    overflow: hidden;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-item-costs {
    font-size: smaller;
    color: var(--ai4seo-gray);
    width: 3rem;
    text-align: center;
    margin-left: .5rem;
    margin-top: .5rem;
}

/* type: module — badge */
div.ai4seo-subscription-plan-badge {
    float: left;
    clear: both;
    background-color: white;
    padding: 7px 8px 5px 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-right: 20px;
    margin-bottom: 15px;
}

/* type: module — badge */
div.ai4seo-subscription-plan-badge > img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

/* type: content — Dashboard → Overview layout */
span.ai4seo-credits-renewal-info {
    font-size: small;
    color: darkgreen;
}

/* type: utility — positive number */
.ai4seo-bigger-green-number {
    font-size: x-large;
    color: green !important;
    font-weight: bold;
    position: relative;
    bottom: -3px;
}


/* === CREDITS PACK SELECTION =========================================================================== */

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-container {
    width: 100%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    margin-top: 1rem;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-container div.ai4seo-credits-pack-selection-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .7rem 1rem;
    box-sizing: border-box;
    border: 1px solid #ddd;
    margin: .5rem;
    border-radius: .5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 3;
    background: #fff;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-most-popular {
    z-index: 3;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item:hover {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-selected {
    background-color: #ffff88 !important;
    border: 1px solid #bb8a01 !important;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item > div.ai4seo-credits-pack-selection-item-left-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item > div.ai4seo-credits-pack-selection-item-right-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-most-popular-label {
    position: relative;
    top: 14px;
    left: 8px;
    background-color: #800080;
    opacity: .7;
    padding: 2px .9rem 8px .9rem;
    color: white;
    font-size: .7rem !important;
    border-radius: .5rem .5rem 0 0;
    font-variant: small-caps;
    line-height: 1.2rem !important;
    z-index: 2;
    margin-top: -13px;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-discount-percentage {
    background-color: purple;
    color: white;
    border-radius: 25%;
    padding: .2rem .5rem;
    width: auto;
    display: inline-block;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-credits-amount {
    font-size: larger;
    font-weight: bold;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-reference-price {
    text-decoration: line-through;
    color: var(--ai4seo-gray);
    width: 85px;
    text-align: right;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-price {
    font-size: larger;
    width: 110px;
    text-align: right;
    white-space: nowrap;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-cost-per-entry-container {
    margin-top: 1.5rem;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-cost-per-entry-container h4 {
    margin-bottom: .5rem;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-pay-as-you-go-summary-container {

}

/* ========================================================================== */
/*  BUTTONS & INTERACTIVE ELEMENTS                                            */
/* ========================================================================== */

/* -- Base Buttons ---------------------------------------------------------- */

/* type: module — button */
.ai4seo-button {
    position: relative !important;
    font-size: 1rem !important;
    line-height: 1.2rem !important;
    cursor: pointer;
    width: fit-content;
    padding: 0.6rem 1.1rem !important;
    border: 1px solid var(--ai4seo-border-light) !important;
    color: #444 !important;
    border-radius: .3rem !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .3) !important;
    text-decoration: none !important;
    display: inline-block !important;
    transform-style: unset !important;
    background-color: var(--ai4seo-panel-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* type: module — button */
.ai4seo-button:active {
    transform: translate(2px, 2px) !important;
    box-shadow: none !important;
}

/* type: module — button */
.ai4seo-button svg {
    fill: var(--ai4seo-gray-dark) !important;
    width: auto;
    height: 1rem;
    line-height: 1rem;
    margin-top: -5px;
}

/* type: module — button */
.ai4seo-button > svg.ai4seo-button-icon-left {
    margin-right: .6rem;
}

/* type: module — button */
.ai4seo-small-button > svg.ai4seo-button-icon-left {
    margin-right: .35rem;
}

/* type: module — button */
.ai4seo-button:hover {
    background-color: var(--ai4seo-off-white) !important;
    border-color: var(--ai4seo-border) !important;
    color: var(--ai4seo-dark-text) !important;
    transform-style: unset !important;
}

/* type: module — button */
.ai4seo-submit-button, .ai4seo-primary-button {
    background-color: var(--ai4seo-sooz-ci-blue-input) !important;
    border-color: #0186af !important;
    color: var(--ai4seo-white) !important;
    transform-style: unset !important;
    transition: background-color .15s ease, color .15s ease;
}

.ai4seo-submit-button > span, .ai4seo-primary-button > span {
    color: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-submit-button.ai4seo-inactive-button, .ai4seo-primary-button.ai4seo-inactive-button,
.ai4seo-submit-button.ai4seo-start-inactive, .ai4seo-primary-button.ai4seo-start-inactive,
.ai4seo-submit-button.ai4seo-inactive-button:disabled, .ai4seo-primary-button.ai4seo-inactive-button:disabled,
.ai4seo-submit-button.ai4seo-start-inactive:disabled, .ai4seo-primary-button.ai4seo-start-inactive:disabled {
    background-color: var(--ai4seo-border) !important;
    background: var(--ai4seo-border) !important;
    box-shadow: none !important;
    transform: none !important;
    color: var(--ai4seo-muted-text) !important;
    cursor: not-allowed !important;
    border-color: var(--ai4seo-border-muted) !important;
    opacity: .7 !important;
    pointer-events: none !important;
}

/* type: module — button */
.ai4seo-submit-button.ai4seo-inactive-button > span, .ai4seo-primary-button.ai4seo-inactive-button > span,
.ai4seo-submit-button.ai4seo-start-inactive > span, .ai4seo-primary-button.ai4seo-start-inactive > span,
.ai4seo-submit-button.ai4seo-inactive-button:disabled > span, .ai4seo-primary-button.ai4seo-inactive-button:disabled > span,
.ai4seo-submit-button.ai4seo-start-inactive:disabled > span, .ai4seo-primary-button.ai4seo-start-inactive:disabled > span {
    color: var(--ai4seo-muted-text) !important;
}

/* type: module — button */
.ai4seo-submit-button:hover, .ai4seo-primary-button:hover {
    background-color: var(--ai4seo-sooz-ci-blue-input-light) !important;
    border-color: var(--ai4seo-sooz-ci-blue-input) !important;
    color: var(--ai4seo-white) !important;
    transform-style: unset !important;
}

/* type: module — button */
.ai4seo-submit-button.ai4seo-inactive-button:hover,
.ai4seo-primary-button.ai4seo-inactive-button:hover,
.ai4seo-submit-button.ai4seo-inactive-button:focus,
.ai4seo-primary-button.ai4seo-inactive-button:focus,
.ai4seo-submit-button.ai4seo-inactive-button:active,
.ai4seo-primary-button.ai4seo-inactive-button:active {
    background-color: var(--ai4seo-border) !important;
    border-color: var(--ai4seo-border-muted) !important;
    color: var(--ai4seo-muted-text) !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none !important;
}

/* type: module — button */
.ai4seo-inactive-button {
    background-color: var(--ai4seo-border) !important;
    color: var(--ai4seo-muted-text) !important;
    cursor: not-allowed !important;
    border-color: var(--ai4seo-border-muted) !important;
    opacity: .7 !important;
    pointer-events: none !important;
}

/* type: module — button */
.ai4seo-inactive-button svg {
    fill: var(--ai4seo-muted-text) !important;
}

/* type: module — button */
.ai4seo-inactive-button:hover {
    background-color: var(--ai4seo-border) !important;
    color: var(--ai4seo-muted-text) !important;
    cursor: not-allowed !important;
    border-color: var(--ai4seo-border-muted) !important;
}

/* type: module — button */
.ai4seo-inactive-button:active {
    transform: none !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .5) !important;
}

/* -- Button Layouts & Wrappers -------------------------------------------- */

/* type: module - button */
.ai4seo-sticky-buttons-bar {
    position: fixed;
    bottom: 0;
    padding: 30px 0 0 0;
    width: calc(100% - 260px - 160px); /* account for sidebars */
    overflow: hidden;
    left: calc(260px + 160px); /* account for sidebars */
}

.ai4seo-form:has(+ .ai4seo-sticky-buttons-bar) {
    margin-bottom: 2rem;
}

/* type: module - button */
.ai4seo-sticky-buttons-bar .ai4seo-buttons-wrapper {
    background-color: var(--ai4seo-wordpress-bg);
    justify-content: left;
    padding: 1.2rem;
}

/* breakpoint for smaller screens */
@media screen and (max-width: 960px) {
    .ai4seo-sticky-buttons-bar {
        width: 100%;
        left: 0;
    }

    .ai4seo-sticky-buttons-bar .ai4seo-buttons-wrapper {
        justify-content: center !important;
        padding: .9rem 0 .9rem 0 !important;
    }
}

/* breakpoint for smaller screens */
@media screen and (max-width: 782px) {
    .ai4seo-sticky-buttons-bar .ai4seo-buttons-wrapper {
        justify-content: center !important;
        padding: .9rem 0 .7rem 0 !important;
    }
}

.ai4seo_sticky_element_hides_something {
    box-shadow: 0 0 30px rgba(75, 75, 75, 0.5) !important;
    background-color: rgba(240, 240, 241, .95) !important
}

/* type: module — button */
.ai4seo-buttons-wrapper {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers the content vertically */
    gap: 1.5rem;
    clear: both;
    flex-wrap: wrap;
    transition: box-shadow .15s ease, background-color .15s ease;
    box-shadow: none;
}

@media only screen and (min-width: 800px) {
/* type: module — button */
    .ai4seo-big-button {
        font-size: 1.1rem !important;
        padding: .7rem 1.5rem !important;
        line-height: 1.5rem !important;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, .5) !important;
    }
}

/* type: module — button */
.ai4seo-button.ai4seo-submit-button svg, .ai4seo-button.ai4seo-primary-button svg {
    fill: #ffffff !important;
}

/* type: module — button */
.ai4seo-abort-button, .ai4seo-secondary-button {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--ai4seo-gray-dark) !important;
    transform-style: unset !important;
    text-decoration: none !important;
    box-shadow: 0 0 3px 0 rgba(0,0,0,.2) !important
}

/* type: module — button */
.ai4seo-abort-button:hover, .ai4seo-secondary-button:hover {
    border-color: transparent !important;
    color: var(--ai4seo-white) !important;
    transform-style: unset !important;
}

/* type: module — button */
.ai4seo-abort-button:hover {
    background-color: var(--ai4seo-red) !important;
}

/* type: module — button */
.ai4seo-secondary-button:hover {
    background-color: var(--ai4seo-teal) !important;
}

/* type: module — button */
.ai4seo-settings-top-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: right;
    align-items: center;
}

/* type: module - link */
.ai4seo-more-setting-entries summary {
    cursor: pointer;
    color: var(--ai4seo-sooz-ci-blue) !important;
    font-weight: 600;
    text-decoration: underline !important;
}

/* type: module — button */
.ai4seo-button-icon {
    position: relative;
    top: 2px;
    max-height: 1rem;
}

/* type: module — button */
.ai4seo-top-right-refresh-button-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 999;
}

/* type: module — button */
div.ai4seo-get-more-credits-section .ai4seo-button {
    margin-top: 1rem;
}

/* type: module — button */
div.ai4seo-bulk-generation-button-container, div.ai4seo-buy-credits-button-container {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* type: module — button */
div.ai4seo-bulk-generation-button-container > div.ai4seo-buttons-wrapper, div.ai4seo-buy-credits-button-container > div.ai4seo-buttons-wrapper {
    margin: 0 0 -.5rem 0;
}

/* type: module — button */
div.ai4seo-latest-activity-item-buttons {
    text-align: center;
    white-space: nowrap;
}

/* type: module — button */
div.ai4seo-latest-activity-item-buttons a, div.ai4seo-latest-activity-item-buttons button {
    margin-left: .5rem;
}

/* -- Button Variations ----------------------------------------------------- */

/* type: module — button */
.ai4seo-icon-only-button {
    width: 2.5rem;
    height: 2.5rem;
    padding: 10px !important;
    text-align: center !important;
    line-height: 1rem !important;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, .5) !important;
}

/* type: module — button */
.ai4seo-icon-only-button:active {
    transform: translate(1px, 1px) !important;
    box-shadow: none !important;
}

/* type: module — button */
.ai4seo-icon-only-button svg {
    margin: 0;
}

/* type: module — button */
.ai4seo-small-button {
    font-size: .8rem !important;
    padding: 4px 10px 5px 10px !important;
    line-height: 100% !important;
    min-height: auto !important;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5) !important;
}

.ai4seo-small-button > span {
    font-size: .8rem !important;
    line-height: 100% !important;
}

/* type: module — button */
.ai4seo-small-button:active {
    transform: translate(1px, 1px) !important;
    box-shadow: none !important;
}

/* type: module — button */
.ai4seo-small-button svg {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: -3px;
}

/* type: content — Settings → Automated generation panel */
.ai4seo-advanced-settings-highlight {
    background-color: var(--ai4seo-warning) !important;
}

/* type: content — Settings → Automated generation panel */
.ai4seo-advanced-settings-highlight:hover {
    background-color: var(--ai4seo-warning) !important;
}

/* -- Contextual Buttons --------------------------------------------------- */

/* type: module — button */
div.ai4seo-credits-pack-selection-container .ai4seo-credits-pack-show-more-options-button {
    margin-top: 1rem;
}

/* type: module — button */
.ai4seo-form-input-wrapper-with-generate-button {
    padding-bottom: 20px;
    position: relative;
}

/* type: module — button */
.ai4seo-form-input-wrapper-with-generate-button .ai4seo-generate-button {
    width: 350px !important;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -175px;
}

@media (max-width: 880px) {
/* type: module — button */
    .ai4seo-form-input-wrapper-with-generate-button .ai4seo-generate-button {
        margin-top: 37px !important;
        width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
    }
}


/* type: module — button */
.ai4seo-generate-button {
    background-color: var(--ai4seo-panel-bg) !important;
    color: var(--ai4seo-dark-text) !important;
    line-height: 2 !important;
    width: 100% !important;
    margin-top: 10px !important;
    position: relative !important;
    cursor: pointer;
    font-size: 1rem !important;
    display: inline-block !important;
    border-radius: 3px !important;
    padding: 5px 15px !important;
}

.ai4seo-show-all-seo-settings-button {
    width: 90% !important;
    margin-left: 5% !important;
}

.ai4seo-generate-button svg.ai4seo-sooz-logo {
    fill: var(--ai4seo-sooz-ci-blue) !important;
}

/* type: module — button */
.ai4seo-generate-button:hover {
    background-color: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-generate-button-arrow:before {
    content: '';
    display: block;
    position: absolute;
    left: calc(50% - 11px);
    bottom: 100%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom-color: var(--ai4seo-muted-text);
}

/* type: module — button */
.ai4seo-generate-button-arrow:after {
    content: '';
    display: block;
    position: absolute;
    left: calc(50% - 11px);
    top: -16px;
    bottom: 100%;
    width: 0;
    height: 0;
    border: 9px solid transparent;
    border-bottom-color: var(--ai4seo-panel-bg);
}

/* type: module — button */
.ai4seo-generate-button:hover:after {
    border-bottom-color: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-generate-button > .ai4seo-sooz-logo {
    position: relative;
    height: 1rem;
    max-width: none;
    max-height: none;
    margin: -4px 0.1rem 0 0.15rem;
}

/* type: module — button */
.ai4seo-generate-all-button-wrapper {
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
}

/* type: module — button */
.ai4seo-generate-all-button svg {
    display: block;
    margin: 1em auto;
    width: 6rem;
    height: auto;
    fill: var(--ai4seo-sooz-ci-blue) !important;
}

.ai4seo-generate-all-button {
    margin: 10px;
    position: relative;
    vertical-align: middle;
}

.ai4seo-generation-button-credits-usage {
    position: absolute;
    top: 5px;
    right: 7px;
}

.ai4seo-credits-usage-badge {
    background-color: transparent;
    border: 1px solid var(--ai4seo-yellow);
    box-shadow: 1px 1px 1px rgba(100, 100, 0, 0.5) !important;
    color: var(--ai4seo-dark-text);
    padding: 0 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.ai4seo-online-status-badge {
    background-color: transparent;
    border: 1px solid var(--ai4seo-green);
    box-shadow: 1px 1px 1px rgba(100, 100, 0, 0.5) !important;
    color: var(--ai4seo-dark-text);
    padding: 0 8px 0 28px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.ai4seo-online-status-badge .ai4seo-online-status-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--ai4seo-green);
}

/* type: module — button */
.ai4seo-voucher-code-wrapper .ai4seo-copy-voucher-code-button {
    position: absolute;
    right: -7px;
    top: -2px;
    border: none !important;
    box-shadow: none !important;
    line-height: 1rem;
    border-radius: 0 10px 10px 0;
}

/* type: module — button */
.ai4seo-voucher-code-wrapper .ai4seo-copy-voucher-code-button:hover {
    background-color: #0a0 !important;
    border-color: #0a0 !important;
    color: white !important;
}

/* type: module — button */
.ai4seo-voucher-code-wrapper .ai4seo-copy-voucher-code-button svg {
    fill: #050 !important;
}


/* ========================================================================== */
/*  MODALS & NOTIFICATIONS                                                    */
/* ========================================================================== */

/* type: module — notice */
.ai4seo-hidden-notices-area {
    display: none;
}

.ai4seo-success-message,
/* type: content — Global UI → Modals and notifications */
.ai4seo-green-message {
    color: var(--ai4seo-dark-green) !important;
}

.ai4seo-error-message,
/* type: content — Global UI → Modals and notifications */
.ai4seo-red-message {
    color: var(--ai4seo-red) !important;
}

/* type: content — Global UI → Modals and notifications */
.ai4seo-blue-message {
    color: var(--ai4seo-blue) !important;
}

/* type: content — Global UI → Modals and notifications */
.ai4seo-orange-message {
    color: var(--ai4seo-orange) !important;
}

/* type: content — Global UI → Modals and notifications */
.ai4seo-gray-message {
    color: var(--ai4seo-gray) !important;
}

/* type: module — badge */
.ai4seo-bubble,
/* type: utility — badge color modifier */
.ai4seo-green-bubble,
/* type: utility — badge color modifier */
.ai4seo-red-bubble,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble,
/* type: utility — badge color modifier */
.ai4seo-yellow-bubble {
    padding: 1px 8px;
    margin: 0 2px;
    border-radius: .5rem;
    display: inline-block;
    font-weight: bold;
    height: auto;
}

/* type: module — badge */
.ai4seo-bubble {
    background-color: var(--ai4seo-border-light);
    color: var(--ai4seo-dark-text);
}

/* type: module — button */
.ai4seo-notice .ai4seo-buttons-wrapper {
    justify-content: flex-start; /* Aligns buttons to the right */
    margin-top: 1.5rem !important;
    margin-bottom: .4rem !important;
}

/* Modals */
/* type: module — modal */
.ai4seo-modal-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    z-index: 160005;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* type: module — modal */
.ai4seo-modal {
    position: absolute;
    max-width: calc(100vw - 4rem);
    max-height: calc(100vh - 6rem);
    top: 3rem; /* is adjusted in some cases via javascript */
    background-color: #ffffff;
    padding: 2rem;
    box-sizing: border-box;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    border-radius: .5rem;
    color: black;
    overflow: auto;
}

/* type: module — modal */
.ai4seo-notification-modal {
    text-align: center;
    font-size: larger;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-headline {
    margin-top: 0;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 150%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-headline .ai4seo-modal-headline-icon {
    display: inline-block;
    padding: 0;
    margin: 0 .3rem 0 0;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-headline .ai4seo-modal-headline-icon img {
    height: 1.6rem;
    margin-right: .5rem;
    margin-bottom: -2px;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-sub-headline {
    font-size: 1.2rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
    line-height: 150%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-close-icon {
    position: absolute;
    top: 1rem;
    right: .7rem;
    cursor: pointer;
    padding: .5rem;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-content {
    font-size: 1rem;
    line-height: 160%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ai4seo-modal-content:has(+ .ai4seo-modal-footer) {
    /*margin-bottom: 1rem;*/
}

/* type: module — modal */
.ai4seo-modal-content p, .ai4seo-modal-content span, .ai4seo-modal-content li, .ai4seo-modal-content div, .ai4seo-modal-content td {
    font-size: 1rem;
    line-height: 160%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@media (max-width: 600px) {
/* type: module — icon */
    .ai4seo-modal-close-icon {
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-close-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #808080;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-close-icon:hover svg {
    fill: #ff3030;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-ajax-modal-loading-icon {
    text-align: center;
    margin: 100px;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-ajax-modal-loading-icon svg {
    width: 3rem;
    height: 3rem;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-footer {
    position: sticky;
    bottom: -2rem;
    margin: 0 -2rem -2rem -2rem;
    z-index: 1;
    padding: 1.6rem;
    background-color: #ffffff;
}

/* type: module — button */
.ai4seo-modal .ai4seo-buttons-wrapper {
}

/* type: module — modal */
.ai4seo-modal-small-size {
    min-width: 550px;
    width: 25vw;
    left: calc(50% - 12.5vw);
    padding: 2rem;
}

.ai4seo-modal-small-size .ai4seo-modal-footer {
    bottom: -2rem;
    margin: 0 -2rem -2rem -2rem;
}

/* type: module — modal */
.ai4seo-modal-medium-size {
    min-width: 1100px;
    width: 50vw;
    left: calc(50% - 25vw);
    padding: 3rem;
}

.ai4seo-modal-medium-size .ai4seo-modal-footer {
    bottom: -3rem;
    margin: 0 -3rem -3rem -3rem;
}

/* type: module — modal */
.ai4seo-modal-large-size {
    min-width: 2100px;
    width: 75vw;
    left: calc(50% - 37.5vw);
    padding: 4rem;
}

.ai4seo-modal-large-size .ai4seo-modal-footer {
    bottom: -4rem;
    margin: 0 -4rem -4rem -4rem;
}

/* type: module — modal */
.ai4seo-modal-auto-size {
    width: auto;
    margin: 0 auto;
    padding: 3rem;
}

.ai4seo-modal-auto-size .ai4seo-modal-footer {
    bottom: -4rem;
    margin: 0 -4rem -4rem -4rem;
}

/* Media queries for modal */
@media screen and (max-width: 2480px) {
/* type: module — modal */
    .ai4seo-modal-small-size {
        width: 30vw;
        left: calc(50% - 15vw);
    }

    /* type: module — modal */
    .ai4seo-modal-medium-size {
        width: 65vw;
        left: calc(50% - 32.5vw);
        padding: 2.5rem;
    }

    .ai4seo-modal-medium-size .ai4seo-modal-footer {
        bottom: -2.5rem;
        margin: 0 -2.5rem -2.5rem -2.5rem;
    }

    /* type: module — modal */
    .ai4seo-modal-large-size {
        min-width: auto;
        width: 85vw;
        left: calc(50% - 42.5vw);
        padding: 3.5rem;
    }

    .ai4seo-modal-large-size .ai4seo-modal-footer {
        bottom: -3.5rem;
        margin: 0 -3.5rem -3.5rem -3.5rem;
    }

/* type: module — modal */
    .ai4seo-modal-auto-size {
        padding: 2.5rem;
    }

    .ai4seo-modal-auto-size .ai4seo-modal-footer {
        bottom: -2.5rem;
        margin: 0 -2.5rem -2.5rem -2.5rem;
    }
}

/* Media queries for modal */
@media screen and (max-width: 1880px) {
/* type: module — modal */
    .ai4seo-modal-small-size {
        width: 35vw;
        left: calc(50% - 17.5vw);
    }

/* type: module — modal */
    .ai4seo-modal-medium-size {
        width: 75vw;
        left: calc(50% - 37.5vw);
        padding: 2rem;
    }

    .ai4seo-modal-medium-size .ai4seo-modal-footer {
        bottom: -2rem;
        margin: 0 -2rem -2rem -2rem;
    }

/* type: module — modal */
    .ai4seo-modal-auto-size {
        padding: 2rem;
    }

    .ai4seo-modal-auto-size .ai4seo-modal-footer {
        bottom: -2rem;
        margin: 0 -2rem -2rem -2rem;
    }
}

/* Media queries for modal */
@media screen and (max-width: 1480px) {
/* type: module — modal */
    .ai4seo-modal-small-size {
        width: 45vw;
        left: calc(50% - 22.5vw);
    }

/* type: module — modal */
    .ai4seo-modal-medium-size {
        min-width: auto;
        width: 85vw;
        left: calc(50% - 42.5vw);
    }

/* type: module — modal */
    .ai4seo-modal-large-size {
        width: 85vw;
        left: calc(50% - 42.5vw);
        padding: 3rem;
    }

    .ai4seo-modal-large-size .ai4seo-modal-footer {
        bottom: -3rem;
        margin: 0 -3rem -3rem -3rem;
    }
}

@media screen and (max-width: 1180px) {
    /* type: module — modal */
    .ai4seo-modal-small-size {
        width: 55vw;
        left: calc(50% - 27.5vw);
    }

    /* type: module — modal */
    .ai4seo-modal-large-size {
        padding: 2.5rem;
    }

    .ai4seo-modal-large-size .ai4seo-modal-footer {
        bottom: -2.5rem;
        margin: 0 -2.5rem -2.5rem -2.5rem;
    }
}

@media screen and (max-width: 880px) {
/* type: module — modal */
    .ai4seo-modal-small-size {
        width: 60vw;
        left: calc(50% - 30vw);
    }

/* type: module — modal */
    .ai4seo-modal-large-size {
        padding: 2rem;
    }

    .ai4seo-modal-large-size .ai4seo-modal-footer {
        bottom: -2rem;
        margin: 0 -2rem -2rem -2rem;
    }
}

@media screen and (max-width: 782px) {
    /* type: module — modal */
    .ai4seo-modal-small-size {
        width: 90vw;
        left: calc(50% - 45vw);
        padding: 1.5rem;
    }

    .ai4seo-modal-small-size .ai4seo-modal-footer {
        bottom: -1.5rem;
        margin: 0 -1.5rem -1.5rem -1.5rem;
    }

    /* type: module — modal */
    .ai4seo-modal-medium-size {
        padding: 1.5rem;
    }

    .ai4seo-modal-medium-size .ai4seo-modal-footer {
        bottom: -1.5rem;
        margin: 0 -1.5rem -1.5rem -1.5rem;
    }

    /* type: module — modal */
    .ai4seo-modal-large-size {
        padding: 1.5rem;
    }

    .ai4seo-modal-large-size .ai4seo-modal-footer {
        bottom: -1.5rem;
        margin: 0 -1.5rem -1.5rem -1.5rem;
    }

    /* type: module — modal */
    .ai4seo-modal-auto-size {
        padding: 1.5rem;
    }

    .ai4seo-modal-auto-size .ai4seo-modal-footer {
        bottom: -1.5rem;
        margin: 0 -1.5rem -1.5rem -1.5rem;
    }
}

@media screen and (max-width: 600px) {
    /* type: module — modal */
    .ai4seo-modal-small-size {
        min-width: auto;
        width: 95vw;
        left: calc(50% - 47.5vw);
    }

    /* type: module — modal */
    .ai4seo-modal-medium-size {
        padding: 1rem;
    }

    .ai4seo-modal-medium-size .ai4seo-modal-footer {
        bottom: -1rem;
        margin: 0 -1rem -1rem -1rem;
    }

    /* type: module — modal */
    .ai4seo-modal-large-size {
        padding: 1rem;
    }

    .ai4seo-modal-large-size .ai4seo-modal-footer {
        bottom: -1rem;
        margin: 0 -1rem -1rem -1rem;
    }

    /* type: module — modal */
    .ai4seo-modal-auto-size {
        padding: 1rem;
    }

    .ai4seo-modal-auto-size .ai4seo-modal-footer {
        bottom: -1rem;
        margin: 0 -1rem -1rem -1rem;
    }
}

/* type: module — modal */
body.ai4seo-has-open-modal {
    overflow: hidden;
}

/* type: content — Global UI → Modal responsiveness */
.ai4seo-seo-data-not-covered-message {
    color: var(--ai4seo-red);
}

/* type: module — icon */
.ai4seo-card img.ai4seo-message-icon {
    float: left;
    margin: 5px 10px 5px -10px;
}

/* Notices */

/* type: module — notice */
div.ai4seo-notice {
    font-size: 1rem;
    line-height: 1.5rem;
    padding: .5rem 1rem;
    padding-left: 45px !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
    width: 100%;
    max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem));
    box-sizing: border-box;
    margin-bottom: 1.5rem !important;
}

/* type: module — card */
div.ai4seo-cards-container > div.ai4seo-notice {
    margin: 0 !important;
}

/* type: module — notice */
div.ai4seo-notice li {
    list-style-type: disc;
    padding-left: .5rem;
    position: relative;
    color: #333;
    margin-left: 1rem;
    font-size: smaller;
}

@media (max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)) {
/* type: module — notice */
    div.ai4seo-notice {
        max-width: calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem));
    }
}

/* type: module — icon */
.ai4seo-notice .ai4seo-sooz-logo {
    position: absolute;
    left: 11px;
    top: 10px;
    width: 24px;
    height: 24px;
}

/* type: content — Global UI → Notices */
div.ai4seo-discount-available-message {
    position: relative;
    padding-left: 33px;
    margin: 10px;
    white-space: normal;
}

/* Container styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkboxes-container {
    display: flex;
    flex-direction: column; /* Align items vertically */
    gap: 8px; /* Add spacing between items */
    padding: .5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
}

/* Individual checkbox container styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container {
    display: flex;
    align-items: center; /* Center icon and text vertically */
    gap: 5px; /* Space between icon, checkbox, and label */
    padding: .5rem;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* Hover effect */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container:hover {
    background-color: #e6f7ff;
    border: 1px solid #ddd;
}

/* Icon styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container i {
    font-size: 2rem !important;
    color: #555 !important; /* Adjust color to fit your theme */
    margin-top: -15px !important;
    margin-right: 20px !important;
}

/* Checkbox styling */
/* type: module — form control */
.ai4seo-bulk-generation-modal-checkbox-container input[type="checkbox"] {
    cursor: pointer;
}

/* Label styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container label {
    font-size: 16px;
    color: #333;
    width: 100%;
    text-align: left;
}

/* ai4seo-feedback-notice */
/* type: module — notice */
div.ai4seo-money-back-guarantee-notice {
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-andre-erbis-portrait {
    float: left;
    margin-right: 15px;
    margin-bottom: 85px;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-andre-erbis-portrait > img {
    width: 100px;
    border-radius: 100%;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-headline {
    font-weight: bold;
    margin-bottom: 10px;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-quote {
    margin-bottom: 10px;
    font-style: italic;
    font-size: smaller;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-signature {
    font-size: smaller;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-signature > img {
    width: 100px;
}

/* type: module — badge */
div.ai4seo-recent-plugin-updates-title > .ai4seo-bubble, div.ai4seo-recent-plugin-updates-title > .ai4seo-blue-bubble {
    margin-right: .5rem;
}

@media screen and (max-width: 782px) {
    /* AI4SEO Table-Title-Button */
/* type: module — button */
    .ai4seo-table-title-button {
        float: none !important;
    }

    /* AI4SEO Not covered message */
/* type: content — Dashboard → Coverage table empty state */
    .ai4seo-seo-data-not-covered-message span {
        display: block;
        color: var(--ai4seo-red);
        text-decoration: none;
    }

}

/* type: module — icon */
.ai4seo-icon-with-tooltip {
    display: inline-block;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    line-height: 18px;
    margin-left: 5px;
    position: relative;
}

/* type: module — icon */
.ai4seo-icon-with-tooltip svg {
    fill: var(--ai4seo-gray);
    width: 15px !important;
    height: 15px !important;
    margin-top: -12px !important;
}

/* type: module — tooltip */
.ai4seo-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff !important;
    padding: 20px;
    border-radius: 4px;
    z-index: 160010;
    margin-bottom: 10px;
    font-weight: normal !important;
    max-width: 500px;
    min-width: 300px;
    cursor: text;
    line-height: 150%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: .8rem;
    white-space: normal;
}

/* type: module — tooltip */
.ai4seo-tooltip::after {
    content: '';
    position: absolute;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    left: 50%;
    transform: translateX(-50%);
}

/* type: module — tooltip */
.ai4seo-tooltip.show-above::after {
    top: auto;
    bottom: 100%;
    transform: translateX(-50%);
}

/* type: module — tooltip */
.ai4seo-tooltip.show-below::after {
    top: 100%;
    bottom: auto;
    transform: translateX(-50%);
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form-section > h2 i {
    margin-top: 0;
}

/* type: module — form layout */
@media (max-width: 960px) {
    .ai4seo-modal-content .ai4seo-form-item {
        flex-direction: column;
    }

    /* type: module — form layout */
    .ai4seo-modal-content .ai4seo-form-item > label {
        width: 100%;
        margin-right: 0;
    }

    /* type: module — form layout */
    .ai4seo-modal-content .ai4seo-form-item-input-wrapper {
        width: 100%;
    }
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form-item-description {
    margin-top: 20px;
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form-section {
    width: 100%;
    max-width: 100%;
}

/* type: module — notice */
.ai4seo-help-search-notice {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-color: #d63638;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 1em 0;
    padding: 1px 12px;
    width: 100%;
    max-width: 520px;
    box-sizing: border-box;
}

/* type: module - help module */
.ai4seo-help-debug-log-buttons {
    justify-content: flex-start;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* type: module — modal */
.ai4seo-tos-modal .ai4seo-tos-box {
    max-width: 500px;
    max-height: calc(100vh - 605px);
    min-height: 170px;
    overflow: auto;
    text-align: left;
    padding: 20px 30px;
    margin: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #eee;
    font-family: Roboto, Open Sans, sans-serif;
}

@media (max-width: 600px) {
/* type: module — modal */
    .ai4seo-tos-modal {
        padding: 20px;
    }

/* type: module — modal */
    .ai4seo-tos-modal .ai4seo-tos-box {
        padding: 10px;
        font-size: 12px;
        margin: 10px 0;
    }

/* type: module — tos layout */
    div.ai4seo-tos-box h2 {
        font-size: 16px !important;
    }

/* type: module — modal */
    .ai4seo-tos-modal .ai4seo-tos-checkboxes-wrapper {
        margin: 20px 0 0 0 !important;
    }
}

@media (min-width: 1800px) {
/* type: module — modal */
    .ai4seo-tos-modal {
        max-width: 40vw;
        left: calc(50% - 20vw);
    }
}

@media (min-width: 2200px) {
/* type: module — modal */
    .ai4seo-tos-modal {
        max-width: 30vw;
        left: calc(50% - 15vw);
    }
}

/* type: module — modal */
.ai4seo-tos-modal .ai4seo-tos-checkboxes-wrapper {
    max-width: 500px;
    margin: 30px 20px 0 20px;
    text-align: left;
}

/* type: module — icon */
.ai4seo-tos-checkbox .ai4seo-icon-with-tooltip {
    position: absolute;
    top: 30px;
    left: -4px;
}

/* type: module — tooltip */
.ai4seo-tos-checkbox .ai4seo-tooltip {
    margin-left: 50px;
}

@media (max-width: 600px) {
/* type: module — icon */
    .ai4seo-tos-checkbox .ai4seo-icon-with-tooltip {
        position: absolute;
        top: 45px;
        left: 1px;
    }

/* type: module — tooltip */
    .ai4seo-tos-checkbox .ai4seo-tooltip {
        margin-left: 30px;
    }
}

/* ========================================================================== */
/*  TABLES & PAGINATION                                                       */
/* ========================================================================== */

/* Pagination */
/* type: module — pagination */
.ai4seo-pagination {
    margin-top: 1rem;
}

/* type: module — pagination */
.ai4seo-pagination .page-numbers {
    color: var(--ai4seo-blue);
    border-color: var(--ai4seo-blue);
    background: #f6f7f7;
    vertical-align: top;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

/* type: module — pagination */
.ai4seo-pagination .page-numbers:hover {
    background: #f3f3f3;
    color: #369;
    border-color: #369;
}

/* type: module — pagination */
.ai4seo-pagination .page-numbers.current {
    cursor: default;
    background: #eee;
    color: var(--ai4seo-gray);
    border-color: var(--ai4seo-gray);
}

/* type: module — table */
.ai4seo-posts-table-container {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    width: 100%;
}

/* type: module — table */
.ai4seo-posts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: .5rem;
    overflow: hidden;
    border-color: #ccc !important;
}

/* type: module — table */
.ai4seo-posts-table td:first-child, .ai4seo-posts-table th:first-child {
    width: 30px;
}

/* type: module — table */
.ai4seo-posts-table td.title {
    min-width: 200px;
}

/* type: module — table */
.ai4seo-posts-table td:last-child, .ai4seo-posts-table th:last-child {
    width: 50px;
    white-space: nowrap;
}

/* type: module — table */
.ai4seo-posts-table td.ai4seo-generation-coverage {
    min-width: 200px;
    max-width: 400px;
    width: 400px;
}

/**
 on mobile devices -> make td.ai4seo-generation-coverage smaller
 */
@media only screen and (max-width: 1180px) {
/* type: module — table */
    .ai4seo-posts-table td.ai4seo-generation-coverage {
        min-width: 100px;
        max-width: 200px;
        width: 200px;
    }
}

/* type: module — button */
.ai4seo-table-title-button {
    float: right !important;
}

@media screen and (max-width: 600px) {
    /* AI4SEO table content link */
/* type: module — table */
    .ai4seo-table-content-link {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    /* AI4SEO Metadata-coverage */
/* type: module — table */
    .ai4seo-posts-table td.ai4seo-generation-coverage {
        min-width: auto;
    }
}


/* ========================================================================== */
/*  MEDIA & ATTACHMENTS                                                       */
/* ========================================================================== */

/* type: module — button */
.ai4seo-attachment-generate-attributes-button {
    margin-bottom: 1em !important;
}

/* Generate-button details for attachments */
.media-frame-content > .attachment-details .ai4seo-generate-all-button {
    margin-left: 0;
    width: 100%;
    font-size: small !important;
}

/* type: module — button */
.media-frame-content .ai4seo-attachment-generate-attributes-button {
    min-width: 200px;
    margin-right: 2px;
    font-size: small !important;
}

/* type: module — button */
.media-frame-content > .attachment-details .ai4seo-attachment-generate-attributes-button {
    min-width: 200px;
    max-width: 65%;
    float: right !important;
}

@media only screen and (max-width: 1180px) {
    .media-frame-content > .attachment-details .ai4seo-attachment-generate-attributes-button {
        width: 99% !important;
        max-width: 99% !important;
        float: none !important;
        text-align: left !important;
    }
}

/* Generate-button details for attachments */
.media-frame-content .media-sidebar .ai4seo-generate-all-button {
    margin-left: 0;
    width: 99% !important;
    max-width: 99% !important;
    margin-right: 2px !important;
    font-size: small !important;
}

/* type: module — button */
.media-frame-content .media-sidebar .ai4seo-attachment-generate-attributes-button,
.block-editor-block-inspector .ai4seo-attachment-generate-attributes-button {
    width: 99% !important;
    max-width: 99% !important;
    float: none !important;
    text-align: left !important;
}


/* type: module — button */
.post-type-attachment .ai4seo-attachment-generate-attributes-button {
    margin-bottom: 1em !important;
}

/* type: module — button */
.post-type-attachment .attachment-alt-text .ai4seo-attachment-generate-attributes-button {
    max-width: 500px !important;
    display: block !important;
}

/* type: module — button */
.post-type-attachment #wp-attachment_content-editor-container .ai4seo-attachment-generate-attributes-button {
    float: right !important;
}

@media only screen and (max-width: 880px) {
/* type: module — button */
    .attachment-info .ai4seo-attachment-generate-attributes-button {
        width: 98% !important;
        float: left !important;
    }
}

/* type: module — table */
.ai4seo-posts-table.attachments {
    width: 100%;
    min-width: 400px;
}

/* type: content — Media Library → Attachment AI controls */
.ai4seo-attachment-editor-image-preview {
    display: block;
    margin: 20px auto;
    float: left;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
}

/* type: content — Media Library → Attachment AI controls */
.ai4seo-attachment-editor-image-preview > img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
}

/* type: content — Media Library → Attachment AI controls */
.ai4seo-attachment-list-image-preview {
    max-width: 48px;
    width: 48px;
    Height: 48px;
}

/* type: content — Media Library → Attachment AI controls */
.ai4seo-attachment-list-image-preview img {
    max-width: 48px;
    max-height: 48px;
}

@media (max-width: 960px) {
/* type: content — Media Library → Attachment AI controls */
    .ai4seo-attachment-editor-image-preview {
        float: none;
    }

/* type: content — Media Library → Attachment AI controls */
    .ai4seo-attachment-editor-image-preview > img {
        max-width: 100%;
    }
}

/* ========================================================================== */
/*  ANIMATIONS & LOADING INDICATORS                                           */
/* ========================================================================== */

/* type: module — tooltip */
.ai4seo-copy-voucher-code-tooltip {
    color: black !important;
    font-weight: bold;
    font-size: .7rem;
    padding: 2px 14px;
    border: 2px dashed #7a7;
    background-color: whitesmoke;
    text-align: left;
    border-radius: 8px;
    position: absolute;
    right: -23px;
    top: -30px;
    animation: ai4seo-rotate-shake-animation .5s infinite ease-in-out;
}

/* type: module — button */
.ai4seo-unicorn-button {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a18cd1, #fbc2eb, #ff9a9e);
    background-size: 400% 400%;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: ai4seo-unicorn-animation 7s ease infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* type: module — button */
.ai4seo-unicorn-button:hover {
    background: linear-gradient(135deg, #ffaaae, #ffe0d4, #ffd2fb, #b19ce1, #ffd2fb, #ffaaae);
    background-size: 400% 400%;
    animation: ai4seo-unicorn-animation 7s ease infinite;
}

@keyframes ai4seo-unicorn-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Code for the button animation */
/* type: module — loader */
.ai4seo-loading-animation-container {
    width: 100%;
    text-align: center;
    position: relative;
    height: 28px;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation {
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    width: 74px;
    height: 28px;
    left: 50%;
    margin-left: -37px;
    bottom: 50%;
    margin-bottom: -14px;
}

.ai4seo-small-button .ai4seo-loading-animation-container .ai4seo-loading-animation {
    transform: scale(0.8);
}

.ai4seo-small-button .ai4seo-loading-animation-container .ai4seo-loading-animation div {
    top: 0;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div {
    position: absolute;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ai4seo-border-light);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(1) {
    left: 8px;
    animation: ai4seo-loading-animation1 0.6s infinite;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(2) {
    left: 8px;
    animation: ai4seo-loading-animation2 0.6s infinite;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(3) {
    left: 32px;
    animation: ai4seo-loading-animation2 0.6s infinite;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(4) {
    left: 56px;
    animation: ai4seo-loading-animation3 0.6s infinite;
}

@keyframes ai4seo-loading-animation1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes ai4seo-loading-animation3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes ai4seo-loading-animation2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

/* type: module — progress indicator */
progress.ai4seo-progress-success::-moz-progress-bar { background: #7AD03A; }

/* type: module — progress indicator */
progress.ai4seo-progress-success::-webkit-progress-value { background: #7AD03A; }

/* type: module — progress indicator */
progress.ai4seo-progress-success { color: #7AD03A; }

/* type: module — progress indicator */
.ai4seo-blue-animated-progress-bar {
    background: repeating-linear-gradient(
            -45deg,
            #aaddff 0,
            #aaddff 23px,
            #bbeeff 23px,
            #bbeeff 46px
    );
    animation: ai4seo-stripes-animation 10s linear infinite;
    background-size: 300% 100%;
    border: 1px solid #ccc;
}

/* type: module — progress indicator */
.ai4seo-green-animated-progress-bar {
    background: repeating-linear-gradient(
            -45deg,
            #88ff88 0,
            #88ff88 23px,
            #aaffaa 23px,
            #aaffaa 46px
    );
    animation: ai4seo-stripes-animation 15s linear infinite;
    background-size: 300% 100%;
    border: 1px solid #ccc;
}

@keyframes ai4seo-stripes-animation {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* type: module — progress indicator */
.ai4seo-gray-animated-progress-bar {
    background: repeating-linear-gradient(
            -45deg,
            #dddddd 0,
            #dddddd 23px,
            #cccccc 23px,
            #cccccc 46px
    );
    animation: ai4seo-slow-stripes-animation 20s linear infinite;
    background-size: 300% 100%;
    border: 1px solid #ccc;
}

@keyframes ai4seo-slow-stripes-animation {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* type: module — icon */
.ai4seo-spinning-icon {
    animation: ai4seo-spinning-icon-animation 1s infinite;
    animation-timing-function: linear;
}

@keyframes ai4seo-spinning-icon-animation {
    0% {
        transform: rotate( 0deg );
    }
    100% {
        transform: rotate( 360deg );
    }
}

/* type: utility — notification emphasis */
.ai4seo-unread-notice {
    animation: ai4seo-highlight-animation-yellow .5s ease-in-out;
    animation-iteration-count: 3;
}

/* type: content — Dashboard → Posts table analysis not completed hint */
.ai4seo-dashboard-posts-table-analysis-not-completed-hint {
    flex: 1 1 100%;
    width: 100%;
    text-align: center !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    color: var(--ai4seo-gray) !important;
    font-size: larger !important;
}

.ai4seo-dashboard-posts-table-analysis-not-completed-hint svg {
    fill: var(--ai4seo-gray) !important;
    width: 30px !important;
    height: 30px !important;
}

/* type: content — Dashboard → Autopilot progress animation */
div.ai4seo-discount-available-message svg {
    position: absolute;
    transform: scale(1.5);
    top: -1px;
    left: -3px;
    padding: 5px;
    background-color: var(--ai4seo-green);
    border-radius: 50%;
    animation: ai4seo-gift-animation 2s infinite ease-in-out;
}

/* type: content — Dashboard → Autopilot progress animation */
div.ai4seo-bulk-generation-status-animated-logo-container > img.ai4seo-bulk-generation-status-animated-logo {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -75px;
    width: 150px;
    height: 150px;
    z-index: 2;
    animation: ai4seo-enlarge-animation 3s infinite ease-out;
    opacity: 0.8
}

/* type: content — Dashboard → Autopilot progress animation */
div.ai4seo-bulk-generation-status-animated-logo-container > img.ai4seo-bulk-generation-status-animated-logo-pulse {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -75px;
    width: 150px;
    height: 150px;
    z-index: 1;
    animation: ai4seo-pulse-animation 3s infinite ease-in-out;
}

@keyframes ai4seo-highlight-animation-yellow {
    0% {
        background-color: white;
    }
    30% {
        background-color: #f5f5ca;
    }
    100% {
        background-color: white;
    }
}

/* type: utility — highlight animation */
.ai4seo-highlight-animation {
    animation: ai4seo-highlight-animation-yellow-gradient 2s ease-in-out;
}

@keyframes ai4seo-highlight-animation-yellow-gradient {
    0% {
        background: transparent;
        text-shadow: none;
    }
    30% {
        /* Yellow center with transparent edges in all directions */
        background: radial-gradient(circle, rgba(255, 255, 0, 0.5) 0%, rgba(255, 255, 0, 0) 70%);
        /* Yellow glow for text */
        text-shadow: 0 0 5px rgba(255, 255, 0, 0.8),
        0 0 10px rgba(255, 255, 0, 0.6),
        0 0 15px rgba(255, 255, 0, 0.4);
    }
    100% {
        background: transparent;
        text-shadow: none;
    }
}

/* type: utility — transparent animation */
.ai4seo-transparent-animation {
    animation: ai4seo-transparent-animation-keyframes .7s ease-in-out;
}

@keyframes ai4seo-transparent-animation-keyframes {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
    }
}

/* blinking text animation */
@keyframes ai4seo-blink-animation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* type: utility — blink animation */
.ai4seo-blink-animation {
    animation: ai4seo-blink-animation 1s steps(1, end) infinite;
}

/* type: utility — blink animation */
.ai4seo-blink-animation-fast {
    animation: ai4seo-blink-animation 0.5s steps(1, end) infinite;
}

/* type: utility — blink animation */
.ai4seo-blink-animation-slow {
    animation: ai4seo-blink-animation 1s steps(1, end) infinite;
}

/* type: utility — blink animation */
.ai4seo-blink-animation-smooth {
    animation: ai4seo-blink-animation 1s infinite;
}

/* shaking left-right animation */
@keyframes ai4seo-shake-animation {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(-5px);
    }
    20% {
        transform: translateX(5px);
    }
    30% {
        transform: translateX(-5px);
    }
    40% {
        transform: translateX(5px);
    }
    50% {
        transform: translateX(-5px);
    }
    60% {
        transform: translateX(5px);
    }
    70% {
        transform: translateX(-5px);
    }
    80% {
        transform: translateX(5px);
    }
    90% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

/* type: utility — shake animation */
.ai4seo-shake-animation {
    animation: ai4seo-shake-animation 0.5s;
}

/* shaking by rotation animation */
@keyframes ai4seo-rotate-shake-animation {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* shaking by rotation animation + scale */
@keyframes ai4seo-gift-animation {
    0% {
        transform: rotate(0deg) scale(1.4);
    }
    55% {
        transform: rotate(0deg) scale(1.4);
    }
    60% {
        transform: rotate(-5deg) scale(1.5);
    }
    65% {
        transform: rotate(5deg) scale(1.5);
    }
    70% {
        transform: rotate(-5deg) scale(1.5);
    }
    75% {
        transform: rotate(5deg) scale(1.5);
    }
    80% {
        transform: rotate(-5deg) scale(1.5);
    }
    85% {
        transform: rotate(5deg) scale(1.5);
    }
    90% {
        transform: rotate(-5deg) scale(1.5);
    }
    95% {
        transform: rotate(5deg) scale(1.5);
    }
    100% {
        transform: rotate(0deg) scale(1.4);
    }
}

/* type: utility — shake animation */
.ai4seo-rotate-shake-animation {
    animation: ai4seo-rotate-shake-animation infinite 0.5s ease-in-out;
}

@keyframes ai4seo-enlarge-animation {
    0% {
        transform: scale(1);
    }
    90% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes ai4seo-pulse-animation {
    0% {
        transform: scale(1);
        opacity: .7;
    }
    50% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ========================================================================== */
/*  RESPONSIVE BREAKPOINTS                                                    */
/* ========================================================================== */

@media (min-width: 960px) {
/* type: module — form control */
    .ai4seo-prefix-suffix-setting-holder .ai4seo-prefix-suffix-setting-textfield {
        display: inline;
        width: 40% !important;
        max-width: 40% !important;
    }
}

@media (max-width: 1480px) {
    /* type: module — form layout */
    .ai4seo-form-item {
        flex-direction: column;
        padding: 0 1rem .75rem 1rem;
    }

    /* type: module — form layout */
    .ai4seo-form-item > label {
        width: 100%;
        margin-right: 0;
    }

    /* type: module — form layout */
    .ai4seo-form-item-input-wrapper {
        width: 100%;
    }

    /* type: module — form layout */
    .ai4seo-form-item-description {
        width: 100%;
        margin-top: 20px;
    }

    /* type: module — form layout */
    .ai4seo-form-section {
        width: 100%;
        max-width: 100%;
    }
}


/* ===========================================================================================
   AI for SEO — Toasts
   Non-blocking notifications, stack bottom-right, accessible
   =========================================================================================== */

/* ===========================================================================================
   AI for SEO — Toasts (CodePen-style, icons + countdown)
   Top-right stack, slide-in, progress bar
   =========================================================================================== */

.ai4seo-toast-container{
    position: fixed;
    top: 60px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 160015;
}

.ai4seo-toast{
    position: relative;
    width: 320px;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0,0,0,.1);
    display: flex;
    overflow: hidden;
    align-items: center;
    transform: translateX(calc(100% + 30px));
    transition: all .5s cubic-bezier(.68,-.55,.265,1.35);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ai4seo-toast.active{ transform: translateX(0%); }

.ai4seo-toast-content{
    display: flex;
    align-items: center;
}

.ai4seo-toast-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    font-size: 28px;
    line-height: 1;
    color: #2271b1; /* default info */
}

.ai4seo-toast-message{
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

.ai4seo-text{
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.ai4seo-text.ai4seo-text-1{
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.ai4seo-toast-close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: .6;
    background: transparent;
    border: 0;
    font-size: 32px;
    line-height: 1;
}

.ai4seo-toast-close:hover{
    opacity: 1;
}

/* Progress bar */
.ai4seo-toast-progress{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}
.ai4seo-toast-progress > span{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: #2271b1; /* default info */
    animation-name: ai4seo-toast-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
.ai4seo-toast-progress.active > span{
    /* duration is set inline via JS: animation-duration: <ms>; */
}

@keyframes ai4seo-toast-progress{
    100% { right: 100%; }
}

/* Type colors */
.ai4seo-toast-success {
    border-left-color: rgb(25,135,84);
}

.ai4seo-toast-error {
    border-left-color: rgb(220,53,69);
}

.ai4seo-toast-warning {
    border-left-color: rgb(255,193,7);
}

.ai4seo-toast-info, .ai4seo-toast-loading {
    border-left-color: rgb(13,202,240);
}

.ai4seo-toast-success .ai4seo-toast-icon {
    color: rgb(25,135,84);
}

.ai4seo-toast-success .ai4seo-toast-progress > span {
    background: rgb(25,135,84);
}

.ai4seo-toast-error .ai4seo-toast-icon {
    color: rgb(220,53,69);
}

.ai4seo-toast-error .ai4seo-toast-progress > span {
    background: rgb(220,53,69);
}

.ai4seo-toast-warning .ai4seo-toast-icon {
    color: rgb(255,193,7);
}

.ai4seo-toast-warning .ai4seo-toast-progress > span {
    background: rgb(255,193,7);
}

.ai4seo-toast-info .ai4seo-toast-icon, .ai4seo-toast-loading .ai4seo-toast-icon {
    color: rgb(13,202,240);
}

.ai4seo-toast-info .ai4seo-toast-progress > span, .ai4seo-toast-loading .ai4seo-toast-progress > span {
    background: rgb(13,202,240);
}

/* type: module — plugin deactivation feedback modal */
.ai4seo-plugin-deactivation-feedback-message {
    width: 100%;
    min-height: 50px;
    resize: vertical;
}

.ai4seo-plugin-deactivation-feedback-hint {
    opacity: 0.35;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.ai4seo-plugin-deactivation-feedback-modal.ai4seo-feedback-qualified .ai4seo-plugin-deactivation-feedback-hint {
    opacity: 1;
    color: green;
}

.ai4seo-plugin-deactivation-feedback-modal.ai4seo-feedback-qualified .ai4seo-plugin-deactivation-feedback-hint svg {
    fill: green;
}
