.pvh-setup-fullscreen {
    min-width: 0;
    min-height: 100vh;
    overflow: auto;
    color: #0f172a;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 32rem),
        radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.16), transparent 30rem),
        linear-gradient(135deg, #f8fafc 0%, #eef6ff 45%, #f7fbff 100%);
}

html.wp-toolbar:has(body.pvh-setup-fullscreen) {
    padding-top: 0 !important;
}

@supports not selector(:has(*)) {
    .pvh-setup-fullscreen #wpwrap {
        margin-top: -32px !important;
        min-height: calc(100vh + 32px);
    }
}

.pvh-setup-fullscreen #wpadminbar,
.pvh-setup-fullscreen #adminmenumain,
.pvh-setup-fullscreen #wpfooter,
.pvh-setup-fullscreen #screen-meta-links,
.pvh-setup-fullscreen .update-nag,
.pvh-setup-fullscreen .notice:not(.inline),
.pvh-setup-fullscreen .error:not(.inline),
.pvh-setup-fullscreen .updated:not(.inline) {
    display: none !important;
}

.pvh-setup-fullscreen #wpwrap,
.pvh-setup-fullscreen #wpcontent,
.pvh-setup-fullscreen #wpbody,
.pvh-setup-fullscreen #wpbody-content {
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.pvh-setup-fullscreen.wp-toolbar {
    padding-top: 0;
}

.pvh-setup-fullscreen #wpcontent {
    margin-left: 0 !important;
}

.pvh-setup-fullscreen #wpbody-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100vh;
    padding: 42px 24px !important;
    overflow-y: auto;
}

.pvh-setup-fullscreen #wpbody-content > .clear {
    display: none !important;
}

.pvh-setup-wrap {
    width: min(1180px, 100%);
    max-width: 1180px;
    min-height: calc(100vh - 84px);
    margin: 0 auto;
}

.pvh-setup-shell {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
        "hero main"
        "hero footer";
    width: 100%;
    min-height: calc(100vh - 84px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
}

.pvh-setup-shell::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82) 44%, rgba(255, 255, 255, 0.96)),
        radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.18), transparent 16rem);
}

.pvh-setup-shell > * {
    position: relative;
    z-index: 1;
}

.pvh-setup-hero {
    grid-area: hero;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 100%;
    padding: 44px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.24), transparent 11rem),
        radial-gradient(circle at 6% 92%, rgba(20, 184, 166, 0.36), transparent 13rem),
        linear-gradient(145deg, #0f172a 0%, #155e75 45%, #2563eb 100%);
}

.pvh-setup-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    margin-bottom: 12px;
    color: #052e2b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    background: #ccfbf1;
    border-radius: 999px;
}

.pvh-setup-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.pvh-setup-hero p {
    max-width: 440px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.65;
}

.pvh-setup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pvh-setup-actions .button {
    min-height: 38px;
    padding: 4px 16px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.pvh-setup-actions .button:hover,
.pvh-setup-actions .button:focus {
    color: #0f172a;
    border-color: #fff;
    background: #fff;
}

.pvh-setup-main {
    grid-area: main;
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 34px;
    overflow-y: auto;
}

.pvh-setup-notice {
    margin: 0;
}

.pvh-setup-section {
    padding: 26px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.pvh-setup-section:first-child {
    border-top: 1px solid rgba(226, 232, 240, 0.92);
}

.pvh-setup-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.pvh-setup-section-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.25;
}

.pvh-setup-section-heading p {
    margin: 5px 0 0;
    color: #64748b;
}

.pvh-setup-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    color: #fff;
    font-weight: 700;
    background: #0f766e;
    border-radius: 50%;
}

.pvh-setup-page-grid {
    display: grid;
    grid-template-columns: minmax(200px, 0.82fr) minmax(250px, 1.18fr);
    gap: 14px;
    align-items: start;
}

.pvh-setup-option,
.pvh-setup-addon {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pvh-setup-option:hover,
.pvh-setup-addon:hover {
    border-color: #93c5fd;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.pvh-setup-option input,
.pvh-setup-addon input {
    margin-top: 3px;
}

.pvh-setup-option strong,
.pvh-setup-addon strong {
    display: block;
    color: #111827;
    font-size: 14px;
}

.pvh-setup-option small,
.pvh-setup-addon small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    line-height: 1.45;
}

.pvh-setup-fields {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
}

.pvh-setup-fields label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 600;
}

.pvh-setup-fields input[type="text"],
.pvh-setup-fields select {
    width: 100%;
    max-width: 420px;
}

.pvh-setup-shortcode-note {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 12px;
    color: #334155;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 16px;
}

.pvh-setup-shortcode-note .dashicons {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: #0f766e;
}

.pvh-setup-shortcode-note strong,
.pvh-setup-shortcode-note small {
    display: block;
}

.pvh-setup-shortcode-note small {
    margin-top: 4px;
    color: #64748b;
    line-height: 1.45;
}

.pvh-setup-addon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pvh-setup-addon {
    position: relative;
    align-items: flex-start;
}

.pvh-setup-addon input {
    position: absolute;
    opacity: 0;
}

.pvh-setup-toggle {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background 0.15s ease;
}

.pvh-setup-toggle::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    content: "";
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
    transition: transform 0.15s ease;
}

.pvh-setup-addon input:checked + .pvh-setup-toggle {
    background: #16a34a;
}

.pvh-setup-addon input:checked + .pvh-setup-toggle::after {
    transform: translateX(18px);
}

.pvh-setup-addon input:focus-visible + .pvh-setup-toggle,
.pvh-setup-option input:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.pvh-setup-footer {
    grid-area: footer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 34px 34px;
    border-top: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 32%);
}

.pvh-setup-footer .button-primary {
    min-height: 48px;
    padding: 8px 26px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #0f766e);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.pvh-setup-footer .button-primary:hover,
.pvh-setup-footer .button-primary:focus {
    background: linear-gradient(135deg, #1d4ed8, #0d9488);
}

.pvh-setup-footer .button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 16px;
    color: #64748b;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
}

.pvh-setup-footer .button-link:hover,
.pvh-setup-footer .button-link:focus {
    color: #0f172a;
    background: #f1f5f9;
    box-shadow: none;
    text-decoration: none;
}

@media (max-width: 782px) {
    .pvh-setup-fullscreen #wpbody-content {
        align-items: stretch;
        padding: 0 !important;
    }

    .pvh-setup-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "hero"
            "main"
            "footer";
        min-height: 100vh;
        border-radius: 0;
    }

    .pvh-setup-hero,
    .pvh-setup-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .pvh-setup-hero,
    .pvh-setup-section,
    .pvh-setup-footer {
        padding: 22px;
    }

    .pvh-setup-main {
        padding: 18px;
    }

    .pvh-setup-footer {
        padding-top: 0;
    }

    .pvh-setup-page-grid,
    .pvh-setup-addon-grid {
        grid-template-columns: 1fr;
    }

    .pvh-setup-hero h1 {
        font-size: 26px;
    }
}
