/* Affily pricing modals — matches home2/tsx.tsx SignupModal, CheckoutModal, PricingModal */

.affily-modal-v2.modal .modal-dialog {
    max-width: 980px;
    margin: 1rem auto;
}

.affily-modal-v2.modal .modal-dialog.affily-modal-v2-dialog--signup {
    max-width: 440px;
}

.affily-modal-v2.modal .modal-dialog.affily-modal-v2-dialog--trial,
.affily-modal-v2.modal .modal-dialog.unified-pricing-modal--trial-step {
    max-width: 480px;
}

.affily-modal-v2.modal .modal-dialog.affily-modal-v2-dialog--picker {
    max-width: 1120px;
}

.affily-modal-v2.modal .modal-content {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    overflow: hidden;
    background: #fff;
    font-family: Geist, ui-sans-serif, system-ui, sans-serif;
}

.affily-modal-v2.modal .modal-backdrop.show {
    background-color: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    opacity: 1;
}

.affily-modal-v2 .unified-pricing-modal-header {
    display: none !important;
}

.affily-modal-v2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    padding: 0 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .affily-modal-v2-header {
        padding: 0 1.75rem;
    }
}

.affily-modal-v2-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.affily-modal-v2-logo {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: #6ed8e4;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.affily-modal-v2-header-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.affily-modal-v2-close {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.affily-modal-v2-close:hover {
    background: #f0fbfc;
    color: #0f172a;
}

.affily-modal-v2 .unified-pricing-modal-body {
    padding: 0 !important;
}

/* ---- Signup step (SignupModal) ---- */
.affily-signup-v2 {
    position: relative;
    overflow: hidden;
}

.affily-signup-v2 .affily-signup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.affily-signup-v2-body {
    padding: 1.5rem 1.5rem 0;
}

.affily-signup-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #0f172a;
    background: rgba(110, 216, 228, 0.25);
}

.affily-signup-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #6ed8e4;
}

.affily-signup-title {
    margin-top: 0.75rem;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.affily-signup-subtitle {
    margin-top: 0.375rem;
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748b;
}

.affily-signup-form {
    padding: 1.25rem 1.5rem 1.5rem;
}

.affily-signup-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.8);
}

.affily-signup-input {
    margin-top: 0.375rem;
    width: 100%;
    height: 2.75rem;
    padding: 0 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.affily-signup-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #6ed8e4;
}

.affily-signup-input::placeholder {
    color: rgba(100, 116, 139, 0.7);
}

.affily-signup-error {
    margin-top: 0.375rem;
    font-size: 12px;
    color: #dc2626;
}

.affily-signup-submit {
    margin-top: 1rem;
    width: 100%;
    height: 2.75rem;
    border: none;
    border-radius: 0.75rem;
    background: #6ed8e4;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(110, 216, 228, 0.9);
    transition: opacity 0.15s;
}

.affily-signup-submit:hover {
    opacity: 0.9;
}

.affily-signup-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.affily-signup-login {
    margin-top: 1rem;
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
}

.affily-signup-login a {
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
}

.affily-signup-login a:hover {
    text-decoration: underline;
}

.affily-signup-secure {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 11.5px;
    color: #64748b;
}

.affily-signup-v2 .account-divider,
.affily-signup-v2 .create-account-subtitle {
    display: none !important;
}

/* ---- Checkout step (CheckoutModal) ---- */
.affily-checkout-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .affily-checkout-v2-grid {
        grid-template-columns: 1.05fr 1fr;
    }
}

.affily-checkout-v2-left {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .affily-checkout-v2-left {
        padding: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .affily-checkout-v2-left {
        border-bottom: none;
        border-right: 1px solid #e2e8f0;
    }
}

.affily-checkout-v2-right {
    padding: 1.5rem 1.25rem;
    background: rgba(240, 251, 252, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .affily-checkout-v2-right {
        padding: 1.75rem;
    }
}

.affily-checkout-section-title {
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.affily-checkout-block {
    margin: 0;
}

.affily-checkout-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.affily-field-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.8);
    margin-bottom: 0.375rem;
}

.affily-required {
    color: rgba(15, 23, 42, 0.5);
}

.affily-optional {
    color: #64748b;
    font-weight: 400;
}

.affily-field-hint {
    margin-top: 0.375rem;
    font-size: 11.5px;
    line-height: 1.45;
    color: #64748b;
}

.affily-field-input {
    width: 100%;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #fff;
    font-size: 13.5px;
    color: #0f172a;
}

.affily-field-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #6ed8e4;
    outline: none;
}

.affily-country-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

.affily-checkout-terms {
    font-size: 12px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.affily-checkout-trial-note {
    margin-top: 0.375rem;
    font-weight: 600;
    color: #0f172a;
}

.affily-purchase-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.affily-purchase-tile {
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.875rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}

.affily-purchase-tile.active {
    border-color: #0f172a;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.affily-purchase-tile:hover:not(.active) {
    border-color: rgba(15, 23, 42, 0.3);
}

.affily-purchase-tile-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.affily-purchase-tile-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.affily-purchase-tile.active .affily-purchase-tile-icon {
    background: #6ed8e4;
}

.affily-purchase-tile-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.affily-purchase-tile-desc {
    margin-top: 0.375rem;
    font-size: 11.5px;
    color: #64748b;
}

.affily-checkout-fields {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: rgba(240, 251, 252, 0.4);
    padding: 1.25rem;
}

/* Hide empty details card when Personal is selected (section display:none) */
.affily-checkout-v2 .affily-checkout-fields.is-hidden,
.affily-checkout-v2 .affily-checkout-details-card.is-hidden {
    display: none !important;
}

/* Avoid double card from legacy pricing.css .business-details-section */
.affily-checkout-v2 .affily-checkout-fields .business-details-section,
.affily-checkout-v2 .affily-checkout-details-card .business-details-section {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.affily-checkout-fields .payment-label,
.affily-checkout-fields .business-details-title {
    font-size: 12px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.8);
    margin-bottom: 0.375rem;
}

.affily-checkout-fields .form-control,
.affily-checkout-fields .payment-input {
    height: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 13.5px;
    box-shadow: none;
}

.affily-checkout-fields .form-control:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #6ed8e4;
}

.affily-checkout-v2-left .business-purchase-section,
.affily-checkout-v2-left .terms-section,
.affily-checkout-v2-left .checkout-purchase-btn,
.affily-checkout-v2-left .cancel-policy-text,
.affily-checkout-v2-left .secure-checkout-info {
    display: none !important;
}

.affily-checkout-v2-left .terms-link {
    color: #0f172a;
    font-weight: 500;
}

.affily-checkout-renewal-box {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.75rem 1rem;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(15, 23, 42, 0.8);
}

.affily-checkout-renewal-box strong {
    color: #0f172a;
    font-weight: 600;
}

.affily-checkout-stripe-box {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: rgba(240, 251, 252, 0.6);
    padding: 0.875rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.affily-checkout-stripe-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.affily-checkout-stripe-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.affily-checkout-stripe-desc {
    margin-top: 0.125rem;
    font-size: 11.5px;
    color: #64748b;
}

.affily-checkout-v2-right .checkout-section-title,
.affily-checkout-v2-right .plan-summary-title,
.affily-checkout-v2-right .billing-hint,
.affily-checkout-v2-right .feature-highlight {
    display: none !important;
}

.affily-checkout-plan-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.affily-plan-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.affily-plan-tile {
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.affily-plan-tile.active {
    border-color: #0f172a;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

.affily-plan-tile:hover:not(.active) {
    border-color: rgba(15, 23, 42, 0.3);
}

.affily-plan-tile-name {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.affily-plan-tile-price {
    display: block;
    margin-top: 0.125rem;
    font-size: 11px;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.affily-billing-save-pill {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 0.125rem 0.375rem;
    background: #6ed8e4;
    color: #0f172a;
    margin-left: 0.125rem;
}

.affily-checkout-v2-right .billing-toggle-btn.active .affily-billing-save-pill {
    background: #6ed8e4;
    color: #0f172a;
}

.affily-checkout-v2-right .billing-toggle-btn:not(.active) .affily-billing-save-pill {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.affily-checkout-v2-right .billing-toggle-btn[data-billing="yearly"].active::after {
    content: none;
}

.affily-checkout-yearly-banner {
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 12.5px;
    color: #0f172a;
    background: rgba(110, 216, 228, 0.15);
    border: 1px solid rgba(110, 216, 228, 0.33);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.affily-checkout-yearly-banner-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0b6a76;
}

.affily-seats-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    padding: 1rem;
}

.affily-seats-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.affily-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: rgba(240, 251, 252, 0.6);
}

.affily-stepper-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: rgba(15, 23, 42, 0.7);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.affily-stepper-btn:hover:not(:disabled) {
    color: #0f172a;
}

.affily-stepper-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.affily-stepper-value {
    width: 2.5rem;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.affily-seats-extra {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 12.5px;
}

.affily-seats-extra-label {
    color: #64748b;
}

.affily-seats-extra-value {
    font-weight: 600;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.affily-checkout-account {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.affily-checkout-account-email {
    margin-top: 0.25rem;
    font-size: 13.5px;
    font-weight: 500;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.affily-price-summary {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.affily-savings-label,
.affily-savings-value {
    color: #0b6a76 !important;
}

.affily-note-strong {
    color: #0f172a;
    font-weight: 600;
}

.affily-checkout-v2-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.affily-checkout-billing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.affily-checkout-v2-right .billing-toggle-checkout {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #fff;
    padding: 0.125rem;
    font-size: 12.5px;
    gap: 0;
}

.affily-checkout-v2-right .billing-toggle-btn {
    height: 2rem;
    min-height: 2rem;
    padding: 0 0.875rem;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: rgba(15, 23, 42, 0.7);
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
}

.affily-checkout-v2-right .billing-toggle-btn.active {
    background: #0f172a;
    color: #fff;
}

/* .affily-checkout-v2-right .billing-toggle-btn[data-billing="yearly"].active::after {
    content: ' −20%';
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #6ed8e4;
} */

.affily-checkout-v2-right .plan-selector {
    width: 100%;
    height: auto;
    margin-top: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 13px;
    background: #fff;
}

.affily-checkout-v2-right .seats-section {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.affily-checkout-v2-right .seats-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.125rem;
}

.affily-checkout-v2-right .seats-note {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
}

.affily-checkout-v2-right .price-breakdown {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.affily-checkout-v2-right .price-breakdown-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 13px;
    margin-bottom: 0.5rem;
}

.affily-checkout-v2-right .price-item-label {
    color: rgba(15, 23, 42, 0.85);
}

.affily-checkout-v2-right .price-item-value {
    font-weight: 500;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.affily-checkout-v2-right .today-total-section {
    margin-top: 0;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
}

.affily-checkout-v2-right .today-total-label {
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

.affily-checkout-v2-right .today-total-amount {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.affily-checkout-v2-right .today-total-note {
    margin-top: 0.25rem;
    font-size: 12px;
    color: #64748b;
}

.affily-checkout-v2-right .checkout-purchase-btn {
    margin-top: 1.25rem;
    width: 100%;
    height: 3rem;
    border: none;
    border-radius: 0.75rem;
    background: #6ed8e4 !important;
    color: #0f172a !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 28px -10px rgba(110, 216, 228, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.affily-checkout-v2-right .checkout-purchase-btn:hover {
    opacity: 0.9;
}

.affily-checkout-v2-right .cancel-policy-text {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 11.5px;
    color: #64748b;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.affily-checkout-v2-right #checkoutPlanNameBtn_pricing,
.affily-checkout-v2-right #checkoutPlanNameBtn {
    display: none;
}

.affily-checkout-v2 .alert-warning#trialEndedMessage_pricing,
.affily-checkout-v2 .alert-warning[id^="trialEndedMessage"] {
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    font-size: 13px;
}

.affily-modal-v2.modal.show .modal-dialog {
    animation: affily-modal-fade-in 0.35s ease-out both;
}

@keyframes affily-modal-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.affily-modal-v2 .businessPurchase-hidden-checkbox {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* ---- Plan picker step (PricingModal) ---- */
.affily-pricing-picker-v2 .affily-picker-scroll {
    padding: 1.5rem 1.25rem 1.75rem;
    overflow-y: auto;
    max-height: calc(94dvh - 3.5rem);
}

@media (min-width: 640px) {
    .affily-pricing-picker-v2 .affily-picker-scroll {
        padding: 2rem 2rem 2.25rem;
    }
}

.affily-picker-hero {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.affily-picker-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
}

@media (min-width: 640px) {
    .affily-picker-title {
        font-size: 28px;
    }
}

.affily-picker-subtitle {
    margin-top: 0.5rem;
    font-size: 14px;
    color: #64748b;
}

.affily-picker-billing-toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #f0fbfc;
    padding: 0.125rem;
    font-size: 14px;
}

.affily-picker-billing-toggle .billing-switch {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.affily-picker-billing-toggle .monthly-label,
.affily-picker-billing-toggle .yearly-label {
    height: 2rem;
    padding: 0 1rem;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: rgba(15, 23, 42, 0.6);
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.affily-picker-billing-toggle .monthly-label.text-dark,
.affily-picker-billing-toggle .yearly-label.text-dark {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

.affily-picker-save-pill {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 0.125rem 0.5rem;
    background: #6ed8e4;
    color: #0f172a;
}

.affily-picker-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.75rem;
}

@media (min-width: 640px) {
    .affily-picker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .affily-picker-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.affily-picker-card {
    position: relative;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
}

.affily-picker-card--popular {
    border-color: #0f172a;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.affily-picker-card--recommended {
    border-color: #6ed8e4;
}

.affily-picker-badge {
    position: absolute;
    top: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 0.25rem 0.625rem;
    white-space: nowrap;
}

.affily-picker-badge--dark {
    background: #0f172a;
    color: #fff;
}

.affily-picker-badge--brand {
    background: #6ed8e4;
    color: #0f172a;
}

.affily-picker-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.affily-picker-card-tagline {
    font-size: 11px;
    color: #64748b;
    min-height: 28px;
    margin-bottom: 0.75rem;
}

.affily-picker-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.affily-picker-price {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.affily-picker-price-suffix {
    font-size: 12px;
    color: #64748b;
}

.affily-picker-billed-note {
    display: none;
    font-size: 11px;
    color: #64748b;
    margin-top: 0.25rem;
}

.affily-pricing-picker-v2.billing-yearly .affily-picker-billed-note,
.affily-modal-v2.billing-yearly .affily-picker-billed-note {
    display: block;
}

.affily-picker-seats-note {
    font-size: 11px;
    color: rgba(15, 23, 42, 0.7);
    margin-top: 0.375rem;
}

.affily-picker-note {
    margin-top: 0.75rem;
    font-size: 11px;
    color: #64748b;
}

.affily-picker-btn {
    margin-top: 1rem;
    width: 100%;
    height: 2.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.affily-picker-btn--brand {
    background: #6ed8e4;
    color: #0f172a;
    box-shadow: 0 8px 20px -8px rgba(110, 216, 228, 0.7);
}

.affily-picker-btn--brand:hover {
    opacity: 0.9;
    color: #0f172a;
}

.affily-picker-btn--muted {
    background: #f0fbfc;
    color: rgba(15, 23, 42, 0.7);
    cursor: default;
}

.affily-picker-features {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    flex: 1;
}

.affily-picker-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 12.5px;
    color: rgba(15, 23, 42, 0.8);
    margin-bottom: 0.5rem;
}

.affily-picker-check {
    flex-shrink: 0;
    margin-top: 2px;
}

.affily-picker-current {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 12px;
    color: #16a34a;
}

.affily-picker-footer {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin: 1.5rem 0 0;
}

.affily-picker-sales-link {
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
}

.affily-picker-sales-link:hover {
    text-decoration: underline;
}

.affily-picker-limit-msg {
    font-size: 14px;
    color: #374151;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 1rem;
}

.affily-modal-v2-crown {
    flex-shrink: 0;
    color: #0f172a;
}

.affily-modal-v2-header.show-crown .affily-modal-v2-logo {
    display: none !important;
}
