/*
Theme Name: Listivo Child
Theme URI: https://listivotheme.com/
Author: TangibleDesign
Author URI: https://tangibledesign.net/
Description: Listivo
Template: listivo
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: translation-ready
Text Domain: listivo
*/
/* AffiliateWP */
.affwp-register-form,
.affwp-login-form {
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 32px;
    background: var(--e-global-color-lcolor5);
    border: 1px solid var(--e-global-color-lcolor4);
    border-radius: var(--e-global-lborder-radius, 18px);
    box-shadow: 0 18px 40px rgba(49, 67, 82, 0.08);
}

.affwp-register-form fieldset,
.affwp-login-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.affwp-register-form legend,
.affwp-login-form legend {
    margin: 0 0 28px;
    color: var(--e-global-color-lcolor1);
    font-family: var(--e-global-typography-lheading3-font-family);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: var(--e-global-typography-lheading3-font-weight);
    line-height: 1.2;
    letter-spacing: var(--e-global-typography-lheading3-letter-spacing);
}

.affwp-form p {
    margin: 0 0 20px;
}

.affwp-form label {
    display: block;
    margin: 0 0 10px;
    color: var(--e-global-color-lcolor1);
    font-family: var(--e-global-typography-llabel-font-family);
    font-size: var(--e-global-typography-llabel-font-size);
    font-weight: var(--e-global-typography-llabel-font-weight);
    line-height: var(--e-global-typography-llabel-line-height);
    letter-spacing: var(--e-global-typography-llabel-letter-spacing);
}

.affwp-form input[type="text"],
.affwp-form input[type="email"],
.affwp-form input[type="password"],
.affwp-form input[type="url"],
.affwp-form select,
.affwp-form textarea,
.affwp-affiliate-link__input,
.affwp-copy-textarea-content {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    color: var(--e-global-color-lcolor1);
    background: var(--e-global-color-lcolor5);
    border: 1px solid var(--e-global-color-lcolor3);
    border-radius: var(--e-global-lborder-radius, 18px);
    box-shadow: none;
    font-family: var(--e-global-typography-ltext1-font-family);
    font-size: 16px;
    font-weight: var(--e-global-typography-ltext1-font-weight);
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.affwp-form textarea,
.affwp-copy-textarea-content {
    min-height: 180px;
    padding: 18px 20px;
    resize: vertical;
}

.affwp-affiliate-link__input {
    min-height: 54px;
}

.affwp-form input[type="text"]:focus,
.affwp-form input[type="email"]:focus,
.affwp-form input[type="password"]:focus,
.affwp-form input[type="url"]:focus,
.affwp-form select:focus,
.affwp-form textarea:focus,
.affwp-affiliate-link__input:focus,
.affwp-copy-textarea-content:focus {
    border-color: var(--e-global-color-lprimary1);
    box-shadow: 0 0 0 4px rgba(235, 180, 15, 0.14);
}

.affwp-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--e-global-color-lprimary1);
}

.affwp-form .affwp-user-remember,
.affwp-form .affwp-tos,
.affwp-form .affwp-label-checkbox-multiple,
.affwp-form .affwp-label-radio {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: auto;
    margin: 0;
    letter-spacing: 0;
}

.affwp-form .affwp-user-remember input,
.affwp-form .affwp-tos input,
.affwp-form .affwp-label-checkbox-multiple input,
.affwp-form .affwp-label-radio input {
    flex: 0 0 auto;
    margin: 3px 0 0;
}

.affwp-form input[type="submit"],
.affwp-button,
.affwp-form button[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: var(--e-global-lborder-radius, 18px);
    background: var(--e-global-color-lprimary1);
    color: var(--e-global-color-lcolor1);
    box-shadow: 0 12px 26px rgba(235, 180, 15, 0.22);
    font-family: var(--e-global-typography-ltext1-font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.affwp-form input[type="submit"]:hover,
.affwp-button:hover,
.affwp-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(235, 180, 15, 0.28);
    filter: brightness(1.02);
}

.affwp-form input[type="submit"]:focus,
.affwp-button:focus,
.affwp-form button[type="submit"]:focus {
    box-shadow: 0 0 0 4px rgba(235, 180, 15, 0.14), 0 16px 30px rgba(235, 180, 15, 0.28);
}

.affwp-lost-password,
.affwp-form .affwp-tos a,
.affwp-notice a,
.affwp-errors a,
#affwp-affiliate-dashboard a:not(.affwp-button) {
    color: var(--e-global-color-lprimary2);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.affwp-errors,
.affwp-notice {
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 16px 18px;
    border: 0;
    border-left: 4px solid var(--e-global-color-lprimary1);
    border-radius: var(--e-global-lborder-radius, 18px);
    background: #fff9e7;
    color: var(--e-global-color-lcolor1);
}

.affwp-errors {
    border-left-color: #d96b5f;
    background: #fdf2f1;
}

.affwp-error,
.affwp-notice p,
.affwp-notice {
    margin: 0;
}

#affwp-affiliate-dashboard {
    max-width: 1140px;
    margin: 0 auto 48px;
}

#affwp-affiliate-dashboard h4 {
    color: var(--e-global-color-lcolor1);
    font-family: var(--e-global-typography-lheading4-font-family);
    font-size: var(--e-global-typography-lheading4-font-size);
    font-weight: var(--e-global-typography-lheading4-font-weight);
    line-height: var(--e-global-typography-lheading4-line-height);
    letter-spacing: var(--e-global-typography-lheading4-letter-spacing);
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li {
    margin: 0;
    padding: 0;
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--e-global-color-lcolor4);
    color: var(--e-global-color-lcolor1);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

#affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li.active a {
    background: var(--e-global-color-lprimary1);
}

.affwp-card,
.affwp-affiliate-link,
.affwp-stripe-payouts__status,
.affwp-stripe-notice {
    border-radius: var(--e-global-lborder-radius, 18px);
}

.affwp-card {
    border: 1px solid var(--e-global-color-lcolor4);
    box-shadow: 0 14px 32px rgba(49, 67, 82, 0.08);
}

.affwp-card__header,
.affwp-card__content,
.affwp-card__footer,
.affwp-card__actions {
    color: var(--e-global-color-lcolor1);
}

.affwp-card__header {
    padding-bottom: 0;
}

.affwp-row-header,
.affwp-creative-file-details,
.affwp-creative-subtitle,
.affwp-creative-size,
.affwp-creative-last-updated,
.affwp-creatives-list-column-label,
.table.affwp-table td,
.table.affwp-table th {
    color: var(--e-global-color-lcolor2);
}

table.affwp-table {
    border-radius: var(--e-global-lborder-radius, 18px);
    overflow: hidden;
    background: var(--e-global-color-lcolor5);
}

table.affwp-table th {
    background: var(--e-global-color-lcolor4);
    color: var(--e-global-color-lcolor1);
    font-weight: 700;
}

table.affwp-table td,
table.affwp-table th {
    border-color: var(--e-global-color-lcolor4);
    padding: 12px 16px;
}

.affwp-table-wrap,
.affwp-creatives-view--as-list,
.affwp-creatives-view--as-grid {
    margin-top: 8px;
}

@media (max-width: 767px) {
    .affwp-register-form,
    .affwp-login-form {
        margin-bottom: 32px;
        padding: 24px 18px;
    }

    .affwp-register-form legend,
    .affwp-login-form legend {
        margin-bottom: 22px;
        font-size: 26px;
    }

    .affwp-form input[type="text"],
    .affwp-form input[type="email"],
    .affwp-form input[type="password"],
    .affwp-form input[type="url"],
    .affwp-form select,
    .affwp-form textarea,
    .affwp-affiliate-link__input,
    .affwp-copy-textarea-content {
        font-size: 16px;
    }

    #affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li {
        width: 100%;
    }

    #affwp-affiliate-dashboard #affwp-affiliate-dashboard-tabs li a {
        width: 100%;
        justify-content: center;
    }
}

/* AffiliateWP mobile language switcher */
@media (max-width: 767px) {
    body.page-id-53131 .gtranslate_wrapper .gt_switcher_wrapper,
    body.page-id-53133 .gtranslate_wrapper .gt_switcher_wrapper,
    body.page-id-53134 .gtranslate_wrapper .gt_switcher_wrapper {
        left: 12px !important;
        bottom: 12px !important;
        z-index: 1000 !important;
    }

    body.page-id-53131 .gtranslate_wrapper .gt_switcher-popup,
    body.page-id-53133 .gtranslate_wrapper .gt_switcher-popup,
    body.page-id-53134 .gtranslate_wrapper .gt_switcher-popup {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        border-radius: 999px !important;
        box-shadow: 0 12px 24px rgba(18, 35, 52, 0.18);
        background: #fff !important;
        overflow: hidden;
    }

    body.page-id-53131 .gtranslate_wrapper .gt_switcher-popup > span,
    body.page-id-53133 .gtranslate_wrapper .gt_switcher-popup > span,
    body.page-id-53134 .gtranslate_wrapper .gt_switcher-popup > span {
        display: none !important;
    }

    body.page-id-53131 .gtranslate_wrapper .gt_switcher-popup img,
    body.page-id-53133 .gtranslate_wrapper .gt_switcher-popup img,
    body.page-id-53134 .gtranslate_wrapper .gt_switcher-popup img {
        width: 22px !important;
        height: 22px !important;
        margin: 0 !important;
    }
}
