:root {
    --psp-surface: #ffffff;
    --psp-surface-muted: #f8fafc;
    --psp-border: #d0d5dd;
    --psp-border-soft: #eaecf0;
    --psp-text: #344054;
    --psp-text-muted: #667085;
    --psp-accent: #295a85;
    --psp-accent-soft: #e9f2f9;
    --psp-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
}

.psp-admin-page {
    color: var(--psp-text);
}

.psp-admin-page .notice,
.psp-admin-page div.updated,
.psp-admin-page div.error {
    border-radius: 8px;
    box-shadow: var(--psp-shadow);
}

.psp-admin-main {
    padding-right: 20px;
    box-sizing: border-box;
}

.psp-page-hero {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(41, 90, 133, 0.12);
}

.psp-page-description {
    margin: 4px 0 20px;
    color: var(--psp-text-muted);
    font-size: 14px;
}

.psp-box,
.psp-admin-page .form-table,
.psp-admin-page .wp-list-table {
    border: 1px solid var(--psp-border);
    border-radius: 20px;
    background: var(--psp-surface);
    box-shadow: var(--psp-shadow);
}

.psp-settings-section {
    margin: 0 0 20px;
    overflow: hidden;
}

.psp-admin-page .psp-settings-section > h2 {
    margin: 0;
    padding: 16px 22px 8px;
    background: linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--psp-border-soft);
    font-size: 15px;
    line-height: 1.5;
}

.psp-admin-page .psp-settings-section > h2 small {
    display: block;
    margin-top: 4px;
    color: var(--psp-text-muted);
    font-size: 12px;
    font-weight: 400;
}

.psp-admin-page .psp-settings-section > table.form-table {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.psp-admin-page .form-table {
    border-spacing: 0;
}

.psp-admin-page .form-table th,
.psp-admin-page .form-table td {
    padding: 18px 22px;
    border-top: 1px solid var(--psp-border-soft);
    vertical-align: top;
}

.psp-admin-page .form-table tr:first-child th,
.psp-admin-page .form-table tr:first-child td {
    border-top: 0;
}

.psp-admin-page .form-table th {
    width: 240px;
    color: #182230;
    font-weight: 600;
}

.psp-admin-page .form-table td p,
.psp-admin-page .form-table td label,
.psp-admin-page .form-table td legend,
.psp-admin-page .form-table td {
    color: var(--psp-text);
}

.psp-admin-page input[type="text"]:read-only {
    background-color: #f9fafb;
    color: #98a2b3;
}

.psp-admin-page input[type="text"],
.psp-admin-page input[type="search"],
.psp-admin-page input[type="url"],
.psp-admin-page input[type="number"],
.psp-admin-page textarea,
.psp-admin-page select {
    box-sizing: border-box;
    max-width: 100%;
    padding: 7px 10px;
    background-color: #fff;
    border: 1px solid var(--psp-border);
    box-shadow: var(--psp-shadow);
    border-radius: 6px;
    color: var(--psp-text);
}

.psp-admin-page input.regular-text,
.psp-admin-page textarea.regular-text,
.psp-admin-page select.regular-text {
    width: min(420px, 100%);
}

.psp-admin-page select {
    padding: 0 28px 0 10px;
    min-width: 120px;
    min-height: 36px;
    height: auto;
    line-height: normal;
}

.psp-admin-page textarea {
    min-height: 120px;
    line-height: 1.7;
}

.psp-admin-page input[type="radio"],
.psp-admin-page input[type="checkbox"] {
    margin: -2px 8px 0 0;
}

.psp-admin-page fieldset {
    margin: 0;
}

.psp-admin-page fieldset label {
    display: inline-block;
    line-height: 1.6;
}

.psp-admin-page .button-secondary,
.psp-admin-page .button {
    border-radius: 6px;
}

.psp-admin-page .wp-picker-container .button,
.psp-admin-page .wp-color-result.button {
    min-height: 34px;
}

.psp-template-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.psp-template-card {
    flex: 1 1 260px;
    min-width: 220px;
}

.psp-template-card label {
    display: block;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--psp-border-soft);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-sizing: border-box;
}

.psp-template-card input[type="radio"] {
    margin-top: 2px;
}

.psp-template-card-disabled label {
    opacity: 0.72;
}

.psp-template-preview {
    margin: 12px 0 0;
}

.psp-template-preview img {
    display: block;
    width: 100%;
    border: 1px solid var(--psp-border-soft);
    border-radius: 8px;
}

.psp-template-upsell {
    margin-top: 18px;
}

.psp-template-upsell > strong {
    display: inline-block;
    margin-bottom: 12px;
}

.psp_logo_outer {
    align-items: flex-start;
    gap: 20px;
    padding: 6px 0;
}

.psp_logo_fields_container {
    width: 180px;
}

.psp_logo_fields_container input[type=button] {
    width: 100%;
    margin: 4px 0;
}

.psp_logo_container {
    float: left;
    padding: 40px 19px 15px;
    width: 240px;
    height: 100%;
    margin: 0 15px;
    border: 1px dashed var(--psp-border);
    border-radius: 8px;
    background: var(--psp-surface-muted);
    box-sizing: border-box;
}

.psp_logo_container img {
    margin-top: 0;
    width: auto;
    height: auto;
    max-height: 200px;
    max-width: 100%;
}

.psp-image-guide-link {
    margin: 10px 0 10px;
    display: block;
    clear: both;
}

.psp-image-guide-link a {
    text-decoration: none;
}

.psp-image-guide-link .dashicons {
    font-size: 16px;
    height: 16px;
    width: 16px;
    vertical-align: text-bottom;
}

.psp-admin-form .submit {
    margin: 0 0 24px;
    padding: 4px 0 0;
}

.psp-save-button,
.psp-admin-page .button-primary {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--psp-accent);
    border-color: var(--psp-accent);
    box-shadow: none;
}

.psp-save-button:hover,
.psp-save-button:focus,
.psp-admin-page .button-primary:hover,
.psp-admin-page .button-primary:focus {
    background: #224c6f;
    border-color: #224c6f;
}

.psp-admin-footer {
    clear: both;
    padding-top: 20px;
}

.psp-admin-footer-inner {
    width: 70%;
    max-width: 100%;
    padding-right: 20px;
    box-sizing: border-box;
}

.psp-footer-card {
    font-size: 14px;
    margin-bottom: 20px;
}

.psp-footer-card-body {
    padding: 18px 22px 22px;
}

.psp-footer-card-text {
    margin: 0 0 16px;
    color: var(--psp-text-muted);
    line-height: 1.6;
}

.psp-footer-card button {
    margin-top: 0;
}

.psp-options-column1 {
    width: 70%;
    max-width: 100%;
    float: left;
}

.psp-premium-column2 {
    margin: 0 0 0 0;
    float: right;
    clear: right;
    width: 30%;
}

.psp-premium-column2 > * {
    border-radius: 12px;
}

.pspoptiontooltip {
    position:absolute;display:none;z-index:999;background-color:#000;opacity:.9;color:#fff;text-align:center;padding:10px;margin-left:2rem;top:-4rem;border-radius:5px;
}

.pspoptiontooltip:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.psp-options-column1 table th {
    padding-left: 10px;
}

.psp-main-left-container {
    float: left;
    width: 50%;
}

.psp-main-right-container {
    float: left;
    width: 50%;
}

.psp-sub-container {
    float: left;
    width: 100%;
}

table.psp-premium-features {
    background-color: #ffffff;
    border-radius: 20px;
    color: #354951;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.psp-footer-notes {
    clear: both;
    padding-top: 20px;
}

.psp-footer-links {
    padding: 4px 0 0;
    color: var(--psp-text);
}

.psp-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.psp-footer-group h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #182230;
}

.psp-footer-group p {
    margin: 0 0 10px;
    color: var(--psp-text-muted);
    line-height: 1.7;
}

.psp-footer-meta-line {
    margin-top: 14px;
}

.psp-footer-meta-line .footerLogo {
    vertical-align: text-bottom;
    margin-right: 5px;
}

.psp-footer-version-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.psp-footer-link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.psp-footer-link-list li + li {
    margin-top: 8px;
}

.psp-footer-link-list a,
.psp-footer-group a,
.psp-footer-meta a {
    text-decoration: none;
}

.psp-footer-link-list a:hover,
.psp-footer-group a:hover,
.psp-footer-meta a:hover {
    text-decoration: underline;
}

.psp-footer-version {
    font-weight: 600;
    color: var(--psp-text);
}

.psp-footer-update-notice {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff4e5;
    color: #b45309;
    font-weight: 600;
}

.psp-footer-update-notice a {
    color: inherit;
    text-decoration: none;
}

.psp-premium {
    color: #3c96da;
    width: 30px;
    float: left;
    font-size: 29px;
    margin-top: -3px;
}

span.psp-premium-feature {
    display: block;
    margin-left: 30px
}

.psp-call-to-action {
    vertical-align: middle;
    float: left;
    clear: both;
    margin-top: 30px;
}

.psp-trial {
    width: 120px;
}

.psp_logo_outer {
    float: left;
    width: 100%;
}

.psp_logo_fields_container {
    float: left;
    width: 150px;
}

.psp_logo_fields_container input[type=button] {
    margin: 4px 0px;
}
.psp_logo_container {
    float: left;
    padding: 40px 19px 15px;
    width: 240px;
    height: 100%;
    margin: 0 15px;
}

.psp_logo_container img {
    width: auto;
    height: auto;
    max-height: 200px;
    max-width: 100%;
    margin-top: -20px;
}

.psp-options-column1 a:hover {
    color: #32a6d6;
}

.psp-btnBuy {
    -webkit-border-radius: 10;
    -moz-border-radius: 10;
    border-radius: 3px;
    font-family: Arial;
    color: #ffffff;
    font-size: 20px;
    background: #6BC406;
    padding: 10px 20px 10px 20px;
    border: solid #ffffff 0px;
    text-decoration: none;
    font-weight: 200;
}

.psp-btnBuy:hover {
    background: #509304;
    text-decoration: none;
    color: #ffffff;
}

.psp-btnBuy:hover a {
    color: #ffffff;
}

.psp-trialLink {
    display: block;
    margin: 10px;
    text-align: center;
    font-size: 15px;
    line-height: 26px;
    height: 28px;
}

.psp-trialLink:hover {
    color: #32a6d6;
    text-decoration: underline;
}

.psp-headerImg {
    display: block;
    background-size: cover;
    max-width: 100%;
}

.psp-headerDiv {
    width: 100%;
    margin-top: 7px;
}

.psp-preBanner h1 {
    font-size: 26px;
    text-align: center;
    color: #ffffff;
    padding: 15px 0;
    background-color: transparent;
    margin: 0;
}

h1.psp-header-title {
    font-size: 28px;
    text-align: left;
    color: #23282d;
    background-color: unset;
    margin-bottom: 0;
}

.psp-options-column1 h4, .psp-premium-column2 h4 {
    margin: .33em 0
}

.psp-premiumHead {
    background-color: #6BC406;
    color: #ffffff;
    text-align: center;
}

.psp-preBanner {
    padding: 10px 0;
	border-radius: 0;
}

.psp-premiumHead > .psp-preBanner {
    background-color: #6BC406;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-clip: padding-box;
}

@media screen and (max-width: 1199px) {
    .psp-settings-form, table.psp-premium-features, .psp-admin-footer-inner {
        width: 100%;
    }

    .psp-options-column1, .psp-premium-column2 {
        width: 100%;
        display: block;
        clear: both;
    }

    .psp-admin-main {
        padding-right: 0;
    }

    .psp-admin-footer-inner {
        padding-right: 0;
    }

    .psp-footer-links-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media screen and (max-width: 782px) {
    .psp-admin-page .form-table th,
    .psp-admin-page .form-table td {
        display: block;
        width: auto;
        padding: 14px 16px;
    }

    .psp-admin-page .form-table td {
        padding-top: 0;
    }

    .psp-template-grid {
        display: block;
    }

    .psp-template-card + .psp-template-card {
        margin-top: 14px;
    }

    .psp_logo_outer {
        display: block;
    }

    .psp-footer-card {
        margin-bottom: 18px;
    }

    .psp-footer-card-body {
        padding: 16px;
    }

    .psp-footer-meta {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .psp_logo_fields_container,
    .psp_logo_container {
        width: 100%;
    }

    .psp_logo_container {
        margin-top: 12px;
    }
}