/**
 * PLUS UI – delade komponenter för /plus/ (checkout + konto).
 * Filmcafe-färger: accent #00A4EC, info #EAF2F5.
 */

.plus-panel {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-sizing: border-box;
}

.plus-panel.soft-block {
    padding: 25px;
}

/* Samma pilavstånd som globalt (6px från högerkant) */
.plus-panel label.select select {
    padding-right: 22px !important;
    background-position: right 6px center !important;
    background-size: 11.25px 8.25px !important;
}

/* Undvik den gamla mörka ::after-ikonen ovanpå PNG-pilen */
.plus-panel label.select::after {
    display: none;
}

.plus-section {
    margin-bottom: 0;
}

/*
 * Ingen egen accent-streck här: .hs1.hs_clr_1 / .sub-header / .small-header
 * i filmcafe-new.css har redan border-left. Extra ::before gav dubbla linjer.
 */
.plus-section-title {
    /* spacing-hjälpare om klassen används utan sub/small-header */
    margin-bottom: 16px;
}

.plus-plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.plus-plan-header h2 {
    margin: 0;
}

.plus-plan-sub {
    margin: 0 0 12px;
    color: #6F7F86;
    font-size: 0.95em;
}

.plus-price {
    margin: 0 0 16px;
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1.2;
}

.plus-price span {
    font-size: 0.55em;
    font-weight: 500;
    color: #6F7F86;
}

.plus-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 0 0 16px;
}

.plus-meta dt {
    margin: 0;
    color: #6F7F86;
    font-size: 0.9em;
    font-weight: 400;
}

.plus-meta dd {
    margin: 2px 0 0;
    font-weight: 600;
}

@media (max-width: 560px) {
    .plus-meta {
        grid-template-columns: 1fr;
    }
}

.plus-info {
    background-color: #EAF2F5;
    border-radius: 8px;
    padding: 25px;
    margin: 0 0 16px;
    box-sizing: border-box;
}

.plus-info p:last-child {
    margin-bottom: 0;
}

.plus-error {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin: 0 0 16px;
    box-sizing: border-box;
}

.plus-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #EAF2F5;
    color: inherit;
}

.plus-badge--ok {
    background-color: #E4F5E8;
    color: #1B6B2E;
}

.plus-badge--warn {
    background-color: #EAF2F5;
    color: inherit;
}

.plus-cta-row,
.plus-konto-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    position: relative;
}

.plus-cta-row > form,
.plus-konto-cta-row > form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.plus-cta-row .medium_butt,
.plus-konto-cta-row .medium_butt {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
}

.plus-cta-row a.open_plus_gift_card,
.plus-konto-cta-row a.open_plus_gift_card {
    display: inline-flex;
    align-items: center;
    height: 30px;
    line-height: 1;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.plus-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 30px;
    padding: 5px 14px;
    margin: 0;
    background-color: #fff;
    border: 1px solid #00A4EC;
    border-radius: 30px;
    color: #00A4EC;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.plus-btn-secondary:hover {
    background-color: #EAF2F5;
    color: #00A4EC;
    text-decoration: none;
}

.plus-btn-secondary span {
    color: inherit;
}

.plus-konto-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #EAF2F5;
}

.plus-payment-method {
    margin: 0 0 12px;
}

.plus-payment-method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex-wrap: wrap;
}

.plus-payment-method-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.plus-payment-method .plus-payment-method-icon,
.plus-payment-method svg.plus-payment-method-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #6F7F86;
    stroke-width: 1.75;
}

.plus-payment-method-action {
    flex-shrink: 0;
    margin-left: auto;
}

.plus-payment-method > em,
.plus-payment-method > a:not(.medium_butt) {
    display: block;
    margin: 4px 0 0 26px;
}

.plus-foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 24px 0 0;
    padding: 20px 0 0;
    list-style: none;
    border-top: 1px solid #EAF2F5;
}

.plus-foot-links a {
    color: #6F7F86;
    text-decoration: underline;
}

.plus-foot-links a:hover {
    color: #00A4EC;
}

.plus-invoice-row-status {
    white-space: nowrap;
}

/* Tom summering ska inte synas som en tom ljusblå ruta */
#payment_summary.plus-info:empty {
    display: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

#payment_summary.plus-info:not(:empty) {
    display: block;
}

/* Kebab (konto) */
.plus-konto-kebab.kebab {
    position: relative;
    bottom: auto;
    right: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    vertical-align: middle;
    margin-right: 0;
    margin-bottom: 0;
    min-width: 40px;
    height: 30px;
    padding: 5px 14px;
    background-color: #00A4EC;
    border: 1px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease 0s;
}

.plus-konto-kebab.kebab:hover,
.plus-konto-kebab.kebab.active {
    z-index: 20;
    background-color: #fff;
    border-color: #00A4EC;
}

.plus-konto-kebab figure {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0;
    background: #fff;
    vertical-align: middle;
    flex: 0 0 auto;
}

.plus-konto-kebab.kebab:hover figure,
.plus-konto-kebab.kebab.active figure {
    background: #00A4EC;
}

.plus-konto-kebab .middle {
    transform: none;
    box-shadow: none;
    filter: none;
}

.plus-konto-kebab .middle.active {
    transform: none;
    box-shadow: none;
}

.plus-konto-kebab .cross {
    display: none;
}

.plus-konto-kebab .dropdown {
    z-index: 21;
    background-color: #fff;
}

.plus-konto-kebab .dropdown li a {
    color: #303030 !important;
    background-color: transparent;
}

.plus-konto-kebab .dropdown li a:hover {
    background-color: #EAF2F5;
    color: #303030 !important;
}

/* Pausdialog */
.plus-pause-typ-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 8px 0 12px;
}

.plus-pause-typ-row label {
    margin: 0;
    white-space: nowrap;
}

#ajax-form .plus-pause-frys-fields > p,
#ajax-form .plus-pause-parental-fields > p {
    margin-top: 0;
    margin-bottom: 10px;
}

.plus-freeze-form .plus-freeze-dagar-label {
    display: inline-block;
    margin-right: 8px;
}

.plus-freeze-form input.plus-freeze-dagar {
    display: inline-block;
    width: 5em !important;
    max-width: 5em !important;
    min-width: unset !important;
    margin-left: 6px;
    vertical-align: middle;
}

.plus-parental-form .plus-parental-dates {
    margin-top: 8px;
}

.plus-parental-form .plus-parental-date-label {
    display: block;
}

.plus-parental-form .plus-parental-date-label span {
    display: block;
    margin-bottom: 4px;
}

.plus-parental-form input[type="date"] {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ui-dialog .ui-dialog-buttonpane button.plus-parental-submit-disabled,
.ui-dialog .ui-dialog-buttonpane button.ui-state-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ------------------------------------------------------------------ */
/* Checkout: /plus/, /plus/foretag.php, /plus/engangs.php              */
/* Scopad under .plus-checkout så sajtens globala form-stilar inte     */
/* slår igenom (filmcafe5.8.6.css laddas efter plus.css).              */
/* ------------------------------------------------------------------ */

.plus-checkout {
    width: min(100%, 780px);
    margin: 0 0 32px;
    color: #123445;
    box-sizing: border-box;
}

.plus-checkout *,
.plus-checkout *::before,
.plus-checkout *::after {
    box-sizing: border-box;
}

.plus-checkout [hidden],
.plus-checkout .plus-checkout-hidden {
    display: none !important;
}

.plus-checkout p {
    margin: 0;
    line-height: 1.5;
}

.plus-checkout .plus-checkout-lead {
    margin: 0 0 24px;
    color: #5B7180;
    font-size: 16px;
    line-height: 1.5;
}

.plus-checkout .plus-checkout-muted {
    color: #5B7180;
}

.plus-checkout a {
    color: #00A4EC;
}

.plus-checkout .plus-checkout-panel {
    display: block;
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 18px;
    padding: clamp(20px, 4vw, 36px);
    box-shadow: 0 8px 30px rgba(24, 56, 76, 0.07);
    color: #123445;
}

.plus-checkout .plus-checkout-section {
    display: block;
    padding: 0 0 28px;
    margin: 0 0 28px;
    border-bottom: 1px solid #E4ECF0;
}

.plus-checkout .plus-checkout-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.plus-checkout .plus-checkout-section h2,
.plus-checkout .plus-checkout-h2 {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #123445;
}

.plus-checkout .plus-checkout-section h2::before,
.plus-checkout .plus-checkout-h2::before {
    display: none;
}

/* Flikar */
.plus-checkout .plus-checkout-tabs {
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 4px;
    background: #EAF2F5;
    border-radius: 12px;
}

.plus-checkout .plus-checkout-tab {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 11px 17px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
    color: #345264;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
}

.plus-checkout .plus-checkout-tab:hover {
    color: #00A4EC;
    background: rgba(255, 255, 255, 0.6);
}

.plus-checkout .plus-checkout-tab[aria-pressed="true"] {
    background: #fff;
    color: #00A4EC;
    box-shadow: 0 1px 5px rgba(23, 59, 82, 0.1);
}

/* Plankort */
.plus-checkout .plus-checkout-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.plus-checkout .plus-checkout-plans--single {
    grid-template-columns: minmax(0, 1fr);
}

.plus-checkout .plus-checkout-plan {
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 18px;
    border: 2px solid #D9E3E9;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    font-weight: 400;
    color: #123445;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.plus-checkout .plus-checkout-plan:hover {
    border-color: #9FD9F5;
}

.plus-checkout .plus-checkout-plan.is-selected,
.plus-checkout .plus-checkout-plan:has(input:checked) {
    border-color: #00A4EC;
    background: #EEF9FF;
}

.plus-checkout .plus-checkout-plan:focus-within {
    outline: 3px solid rgba(0, 164, 236, 0.35);
    outline-offset: 2px;
}

.plus-checkout .plus-checkout-plan--static {
    cursor: default;
}

.plus-checkout .plus-checkout-plan-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.plus-checkout .plus-checkout-plan-row strong {
    font-size: 15px;
    font-weight: 700;
}

.plus-checkout .plus-checkout-plan-price {
    display: block;
    margin: 16px 0 7px;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.plus-checkout .plus-checkout-plan-price [data-price] {
    display: inline;
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
}

.plus-checkout .plus-checkout-plan-price small {
    margin-left: 2px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    color: #647986;
}

.plus-checkout .plus-checkout-plan-detail {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #617886;
}

.plus-checkout .plus-checkout-plan-saving {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: #087A51;
}

/* Radio/checkbox-rader */
.plus-checkout input[type="radio"],
.plus-checkout input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    position: static;
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 1px 0 0;
    padding: 0;
    opacity: 1;
    flex-shrink: 0;
    accent-color: #00A4EC;
    cursor: pointer;
}

.plus-checkout .plus-checkout-plan-row input[type="radio"] {
    margin: 0;
}

.plus-checkout .plus-checkout-choices {
    display: grid;
    gap: 11px;
}

.plus-checkout .plus-checkout-choice {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 11px;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    font-weight: 400;
    line-height: 1.4;
    color: #123445;
    cursor: pointer;
}

.plus-checkout .plus-checkout-choice > span {
    display: inline;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: inherit;
    color: inherit;
}

.plus-checkout .plus-checkout-choice-sub {
    flex-basis: 100%;
    padding-left: 29px;
    font-size: 13px;
    font-style: normal;
    color: #617886;
}

.plus-checkout .plus-checkout-field-label {
    display: block;
    margin: 23px 0 9px;
    padding: 0;
    font-weight: 700;
    font-size: inherit;
    color: #123445;
}

.plus-checkout .plus-checkout-field-label.mt-0 {
    margin-top: 0;
}

/* Kampanjkod */
.plus-checkout .plus-checkout-inline {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.plus-checkout .plus-checkout-text-field {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #CBD7DE;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    color: inherit;
}

.plus-checkout .plus-checkout-text-field:focus {
    outline: none;
    border-color: #00A4EC;
    box-shadow: 0 0 0 3px rgba(0, 164, 236, 0.2);
}

.plus-checkout .plus-checkout-kampanj-info {
    margin: 12px 0 0;
    padding: 14px 16px;
    border-radius: 9px;
    background: #EAF2F5;
    font-size: 14px;
    line-height: 1.45;
}

/* Summering */
.plus-checkout .plus-checkout-summary {
    margin: 0 0 22px;
    padding: 20px;
    border-radius: 13px;
    background: #EAF2F5;
}

.plus-checkout .plus-checkout-summary-title {
    margin-bottom: 13px;
    font-size: 14px;
    font-weight: 700;
    color: #526C7D;
}

.plus-checkout .plus-checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.plus-checkout .plus-checkout-summary-row strong {
    font-size: 20px;
    font-weight: 750;
    text-align: right;
    white-space: nowrap;
}

.plus-checkout .plus-checkout-summary p {
    margin: 11px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #597281;
}

.plus-checkout .plus-checkout-terms {
    margin: 0 0 20px;
}

/* Knappar */
.plus-checkout .plus-checkout-button {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: 11px;
    background: #00A4EC;
    box-shadow: none;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.plus-checkout .plus-checkout-button:hover:not(:disabled) {
    background: #008FCB;
    color: #fff;
    text-decoration: none;
}

.plus-checkout .plus-checkout-button:disabled {
    background: #A5C7D8;
    color: #fff;
    cursor: not-allowed;
}

.plus-checkout .plus-checkout-button--outline {
    background: #fff;
    color: #00A4EC;
    box-shadow: inset 0 0 0 2px #00A4EC;
}

.plus-checkout .plus-checkout-button--outline:hover:not(:disabled) {
    background: #EEF9FF;
    color: #00A4EC;
}

.plus-checkout .plus-checkout-button-secondary {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    box-shadow: inset 0 0 0 2px #00A4EC;
    color: #00A4EC;
    font: inherit;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
}

.plus-checkout #use_kampanj .plus-checkout-button-secondary {
    padding: 12px 20px;
}

.plus-checkout .plus-checkout-button-secondary:hover {
    background: #EEF9FF;
}

.plus-checkout .plus-checkout-actions {
    display: grid;
    gap: 11px;
}

.plus-checkout .plus-checkout-fine {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #627B88;
}

.plus-checkout .plus-checkout-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 16px;
    font-size: 14px;
}

.plus-checkout .plus-error {
    background: #fff;
}

@media (max-width: 540px) {
    .plus-checkout .plus-checkout-plans {
        grid-template-columns: 1fr;
    }

    .plus-checkout .plus-checkout-panel {
        border-radius: 14px;
    }

    .plus-checkout .plus-checkout-tab {
        padding: 11px 14px;
    }

    .plus-checkout .plus-checkout-inline {
        flex-direction: column;
    }

    .plus-checkout .plus-checkout-button-secondary {
        padding: 12px 20px;
    }
}
