.pg_signup_paid_plan_pro,
.pg_signup_paid_plan_premium {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.pg_signup_paid_plan_pro .sign-in,
.pg_signup_paid_plan_premium .sign-in,
.pg_signup_paid_plan_pro .sign-up,
.pg_signup_paid_plan_premium .sign-up,
.pg_signup_paid_plan_pro .cta-today-only-icon,
.pg_signup_paid_plan_premium .cta-today-only-icon,
.pg_signup_paid_plan_pro .cta-today,
.pg_signup_paid_plan_premium .cta-today,
.pg_signup_paid_plan_pro .user-dropdown,
.pg_signup_paid_plan_premium .user-dropdown {
    display: none;
}
/* MAIN CONTAINER */
.trial-urgency-banner {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border-bottom: 1px solid #06b6d4;
    padding: 0.75rem 2rem;
    text-align: center;
    margin-bottom: 0;
}
.trial-banner-active.trial_14_8 .banner-icon {
    background: linear-gradient(135deg, #4a9fb8 0%, #3d8ca8 100%);
}

.trial-banner-active.trial_7_4 .banner-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.trial-banner-active.trial_3_2 .banner-icon {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.trial-urgency-banner.trial_1 {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-bottom: 1px solid #f44336;
}

.trial-banner-active.trial_1 .banner-icon {
    background: linear-gradient(135deg, #d36464 0%, #7f1d1d 100%);
}
.trial-banner-expired {
    background: linear-gradient(135deg, #e7ebef 0%, #d7e2ed 100%);
    border-bottom: 1px solid #94a3b8;
}
.trial-banner-expired .banner-icon {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}
.banner-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.banner-icon svg {
    width: 16px;
    height: 15px;
    stroke: white;
    stroke-width: 2.5;
}
.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}


.banner-text {
    font-size: 1rem;
    color: #075985;
    line-height: 1.5;
}
.trial_1 .banner-text {
    color: #991b1b;
}

.banner-text strong {
    font-weight: 700;
    color: #0c4a6e;
}
.trial_1 .banner-text strong {
    color: #7f1d1d;
}
.trial-banner-expired .banner-text,
.trial-banner-expired .banner-text strong {
    color: #2c3e50;
}


/* Responsive */
@media (max-width: 768px) {
    .trial-urgency-banner {
        padding: 0.6rem 1rem;
    }

    .banner-content {
        flex-direction: column;
        gap: 0.4rem;
    }

    .banner-text {
        font-size: 0.9rem;
    }
}

.signup-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.7rem 2rem 1.6rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 195px); /* navbar height */
}

/* PLAN SUMMARY - Desktop siempre visible */
.plan-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem 1rem 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    width: 100%;
    max-width: 380px;
    position: sticky;
    top: calc(1rem + 60px); /* navbar height + gap */
    align-self: flex-start;
    max-height: calc(100vh - 2rem - 60px);
    transition: opacity 0.3s ease, all 0.3s ease;
    min-width: 340px;
    order: 1; /* Siempre a la izquierda por defecto */
}
.plan-summary.popular {
    border: 2px solid #4a90a4;
}
.plan-summary.popular .pricing-plan-badge {
    display: block;
}
.plan-summary:not(.popular) .pricing-plan-badge {
    display: none;
}


.plan-summary-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.plan-summary-header-top {
    align-items: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 1rem;
}

.plan-summary-footer {
    display: block;
    text-align: right;
    padding-right: 1rem;
    padding-top: 0.5rem;
}
.plan-summary-change-plan-link {
    font-size: 0.85rem;
    color: #4a90a4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.plan-summary-change-plan-link:hover {
    text-decoration: underline;
    color: #357a8a;
}

.plan-summary-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.plan-badge {
    background: linear-gradient(135deg, #4a90a4 0%, #357a8a 100%);
    color: white;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-price-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.plan-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #4a90a4;
    line-height: 1;
}

.plan-price-period {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
}

.plan-price-details {
    font-size: 0.85rem;
    color: #999;
}

.plan-features {
    list-style: none;
    margin: 1.25rem 0;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.plan-feature-icon {
    color: #4a90a4;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.plan-switcher {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.plan-action {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.change-plan-btn {
    width: 100%;
    background: white;
    color: #4a90a4;
    border: 2px solid #e8edf2;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.change-plan-btn:hover {
    border-color: #4a90a4;
    background: #f8fbff;
}

.change-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.change-plan-btn:hover .change-icon {
    transform: rotate(180deg);
}

/* Efecto shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.plan-summary.shake {
    animation: shake 0.5s ease-in-out;
}

/* Efecto highlight sutil para cambio de plan */
@keyframes highlight-pulse {
    0% {
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }
    50% {
        box-shadow: 0 8px 40px rgba(74, 144, 164, 0.4),
                    0 0 0 4px rgba(74, 144, 164, 0.1);
    }
    100% {
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }
}

.plan-summary.highlight {
    animation: highlight-pulse 1s ease-in-out;
}

/* SIGNUP FORM */
#signupForm{
    max-width: 330px;
}
.signup-form-container {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    border-radius: 20px;
    padding: 1rem 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 530px;
    order: 2;
    flex: 1;
    min-width: 325px;
}
.signup-form-container.popular {
    border: 2px solid #4a90a4;
}

.signup-header {
    margin-bottom: 1.5rem;
}

.signup-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.2rem;
    text-align: center;
}

.signup-subtitle {
    color: #666;
    font-size: 1rem;
    text-align: center;
}

/* Estilos específicos para signup - form-group-half para campos mitad */
.signup-form-container .form-group {
    margin: 0 0 1rem 0;  /* Sobrescribe margin: 25px auto de idazery.css */
    position: relative;
    max-width: none;
}

.signup-form-container .form-group label.float {
    top: -8px;  /* Mantiene la posición flotante correcta */
}

.signup-form-container .form-group input {
    font-family: inherit;
}

.form-group-half {
    flex: 1;
    position: relative;
    margin: 0;
}

/* Floating label adaptado para Stripe Elements */
.form-label-stripe:not(.float){
    left: 50px !important;
    top: 17px !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Stripe Elements Styles */
.card-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.card-input-wrapper span {
    position: absolute;
    top: 8px;
    left: 12px;
    width: 33px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.brand-icon.unknown { background-image: url('/static/img/cards/front.svg'); width: 28px !important;}
.brand-icon.visa { background-image: url('/static/img/cards/visa.svg'); }
.brand-icon.mastercard { background-image: url('/static/img/cards/mastercard.svg'); }
.brand-icon.amex { background-image: url('/static/img/cards/amex.svg'); }
.brand-icon.discover { background-image: url('/static/img/cards/discover.svg'); }
.brand-icon.jcb { background-image: url('/static/img/cards/jcb.svg'); }
.brand-icon.diners { background-image: url('/static/img/cards/diners.svg'); }
.brand-icon.unionpay { background-image: url('/static/img/cards/unionpay.svg'); }
.expiry-icon { background-image: url('/static/img/cards/calendar.svg'); width: 18px !important; top: 7px !important; left: 18px !important; }
.cvc-icon { background-image: url('/static/img/cards/cvc.svg'); width: 28px !important; left: 13px !important; }

.stripe-element {
    flex: 1;
    width: 100%;
    border: 1px solid #b0b1b1;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    padding: 1.15rem 1.2rem 0.8rem 3rem;
}

.stripe-element:focus,
.stripe-element.StripeElement--focus {
    border-color: #248fa3;
    background-color: white;
}

.pg_signup_paid_plan_premium .stripe-element:focus,
.pg_signup_paid_plan_premium .stripe-element.StripeElement--focus {
    border-color: #b1922c;
}

.stripe-element.StripeElement--invalid {
    border-color: #dc2626;
}

.stripe-element.StripeElement--complete {
    border-color: #248fa3;
}

/* Hide Stripe's default placeholders to avoid conflicts */
.stripe-element .InputElement {
    opacity: 1 !important;
}



.password-requirements {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

.password-requirements ul {
    margin-top: 0.25rem;
    padding-left: 1.25rem;
}

.password-requirements li {
    margin-bottom: 0.25rem;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #0891b2 0%, #19b2cb 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
    color: white;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.3);
}

.submit-button:hover,
.submit-button:active {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

.cancel-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.75rem;
    font-weight: 600;
}

.signin-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #666;
}

.signin-link a {
    color: #4a90a4;
    text-decoration: none;
    font-weight: 600;
}

.signin-link a:hover {
    text-decoration: underline;
}

/* Security info */
.security-info {
    background-color: rgb(238 255 255);
    border: 1px solid #71bbc9ab;
    border-radius: 12px;
    padding: 16px;
    margin: 15px auto;
    text-align: center;
    max-width: 330px;
}

.pg_signup_paid_plan_premium .security-info{
    background-color: #d4af3714;
    border: 1px solid #d4af378c;
}


.security-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 7px;
}

.security-icon {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    color: #00638b;
}

.pg_signup_paid_plan_premium .security-icon {
    color: #876b12;
}

.security-text {
    font-size: 12px;
    color: #21627b;
    line-height: 1.5;
}

.terms-note {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    max-width: 405px;
    margin: 0 auto;
    line-height: 1.6;
}

.terms-note a {
    color: #4a90a4;
    text-decoration: none;
}

.terms-note a:hover {
    text-decoration: underline;
}
#start-plan-signup{
    font-weight: 600;
}

/* FOOTER */

.separator {
    color: rgba(44, 62, 80, 0.3);
}

/* MOBILE COLLAPSE FUNCTIONALITY */
.plan-summary-mobile-header {
    display: none;
    cursor: pointer;
    padding: 1rem;
    background: #f1f3f5;
    border-radius: 12px;
    margin-bottom: 1rem;
    user-select: none;
}

.plan-summary-mobile-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-summary-mobile-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0 auto;
}

.mobile-change-link {
    font-size: 0.8rem;
    color: #4a90a4;
    text-decoration: none;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border: 1px solid #4a90a4;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-change-link:hover {
    background: #4a90a4;
    color: white;
}

.plan-summary-mobile-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.plan-summary-mobile-price {
    color: #393c43;
    top: 8px;
}
.plan-summary-mobile-price .pricing-price-currency{
    font-size: 1rem;
    font-weight: 100;
    font-family: 'DM Sans Regular';
    padding-right: 2px;
    position: relative;
    top: -1px;
}
.plan-summary-mobile-price .pricing-price-amount{
    font-family: 'DM Sans Semibold';
    font-size: 1.3rem;
}

.plan-summary-mobile-price .pricing-price-decimal{
    font-family: 'DM Sans Semibold';
    font-size: 0.9rem;
}

.plan-summary-mobile-price .pricing-price-period{
    font-size: 0.8rem;
    font-weight: 100;
    font-family: 'DM Sans Regular';
    opacity: 0.8;
}
/* Billing type badge */
/* Billing type badge - Estilo "chip" moderno */
.plan-billing-type {
    margin: 0.8rem 0 0.6rem 0;
    text-align: center;
}

.billing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billing-badge.annual {
    background: rgba(74, 144, 164, 0.1);
    color: #2d6a7a;
    border: 1px solid rgba(74, 144, 164, 0.3);
}

.billing-badge.monthly {
    background: rgba(107, 142, 159, 0.1);
    color: #4a6a7a;
    border: 1px solid rgba(107, 142, 159, 0.3);
}

.billing-icon {
    font-size: 0.95rem;
}
.billing-save {
    display: inline-block;
    background: linear-gradient(135deg, #cb834b 0%, #9a562f 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.25rem;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}
/* Responsive */
@media (max-width: 768px) {
    .plan-billing-type {
        margin: 0.75rem 0 1rem 0;
    }

    .billing-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }
}
/* Billing type badge */


.collapse-icon {
    font-size: 1.2rem;
    color: #4a90a4;
    transition: transform 0.3s ease;
}

.collapse-icon.expanded {
    transform: rotate(180deg);
}

.plan-summary-content {
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Plan controls: Billing + Currency */
.plan-controls {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: center;
    justify-content: center;
}

/* Billing toggle (Monthly/Annual) */
.billing-toggle {
    display: flex;
    gap: 0;
    background: #e8edf2;
    border-radius: 25px;
    padding: 4px;
}

.billing-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.billing-btn:hover {
    color: #4a90a4;
}

.billing-btn.active {
    background: linear-gradient(135deg, #4a90a4 0%, #357a8a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(74, 144, 164, 0.3);
}

.save-badge {
    background: #ff6b35;
    color: white;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Currency dropdown */
.currency-dropdown {
    position: relative;
}

.currency-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e8edf2;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-dropdown-btn:hover {
    border-color: #4a90a4;
}

#currencySymbol {
    font-size: 1rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: #999;
    transition: transform 0.2s ease;
}

.currency-dropdown-btn.open .dropdown-arrow {
    transform: rotate(180deg);
}

.currency-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 2px solid #e8edf2;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: none;
    z-index: 100;
    min-width: 120px;
}

.currency-dropdown-menu.show {
    display: block;
}

.currency-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background: white;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.currency-option:hover {
    background: #f8f9fa;
}

.currency-option.active {
    background: #f0f7fa;
    color: #4a90a4;
    font-weight: 600;
}

.currency-flag {
    font-size: 1.1rem;
}
.security-text strong{
    font-weight: 600;
}
.pg_signup_paid_plan_pro .footer-section,
.pg_signup_paid_plan_premium .footer-section {
    padding-top: 0px;
}
.pg_signup_paid_plan_pro .footer-bottom,
.pg_signup_paid_plan_premium .footer-bottom {
    display: block;
    text-align: center;
}

/* Notice inline para email existente - Versión suave */
.existing-account-notice {
    padding: 1rem 1.25rem;
    margin-top: 0.2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde047;
    animation: slideDown 0.3s ease;
}

.notice-content {
    width: 100%;
}

.notice-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #713f12;
    margin: 0 0 0.375rem 0;
}

.notice-text {
    font-size: 0.875rem;
    color: #854d0e;
    margin: 0;
    line-height: 1.5;
}

.notice-link-primary {
    color: #a16207;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #a16207;
    transition: all 0.2s ease;
}

.notice-link-primary:hover {
    color: #713f12;
    border-bottom-color: #713f12;
}

/* Error inline de Stripe */
.stripe-field-error {
    display: none;
    padding: 0.5rem 0.75rem;
    margin-top: 0.4rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #fca5a5;
    font-size: 0.8125rem;
    color: #991b1b;
    line-height: 1.4;
    animation: slideDown 0.2s ease;
}

.stripe-field-error.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .signup-container {
        gap: 1.5rem;
    }

    .plan-summary {
        position: relative;
        top: 0;
        max-width: 600px;
        order: 1;
    }
    .plan-summary-content {
        margin: 0 auto;
        max-width: 320px;
    }

    .signup-form-container {
        order: 2;
    }

    /* Activar funcionalidad mobile */
    .plan-summary-mobile-header {
        display: block;
    }

    /* Por defecto, colapsado en mobile */
    .plan-summary.collapsed .plan-summary-content {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .plan-summary:not(.collapsed) .plan-summary-content {
        max-height: 1000px;
        opacity: 1;
    }
    .plan-summary.expanded .plan-summary-content {
        margin-top: 1.5rem;
    }
}

/* Tablet: dos columnas desde 768px */
@media (min-width: 769px) and (max-width: 1024px) {

    .plan-summary {
        max-width: 350px;
        flex-shrink: 0;
        position: sticky;
        top: calc(1rem + 60px);
        max-height: calc(100vh - 2rem - 60px);
    }

    .signup-form-container {
        flex: 1;
    }

    /* Desactivar mobile header en tablet */
    .plan-summary-mobile-header {
        display: none;
    }

    .plan-summary.collapsed .plan-summary-content {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
}

@media (max-width: 850px) {
    .plan-summary{
        padding: 1.5rem 0;
    }
    .signup-container {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
}
@media (max-width: 820px) {
    .signup-form-container {
        padding: 1.5rem 1rem;
        margin: 0 auto;
    }
}

@media (max-width: 769px) {
    .signup-container {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
    }

    .signup-form-container {
        padding: 1.5rem;
        max-width: 500px;
    }

    .signup-title {
        font-size: 1.75rem;
    }


    .plan-summary {
        padding: 1rem;
        margin: 0 auto;
        max-width: 500px;
    }

    .plan-controls {
        flex-direction: column;
        gap: 0.75rem;
    }

    .billing-toggle {
        width: 100%;
    }

    .billing-btn {
        flex: 1;
        justify-content: center;
    }

    .plan-summary-mobile-header {
        padding: 0.75rem;
        margin-bottom: 0rem;
    }

    .plan-summary-mobile-name {
        font-size: 1rem;
        background: transparent url(/static/img/brand/logo_idazery_public.png) 1px 2px no-repeat;
        background-size: 18px auto;
        padding-left: 1.5rem;
    }

    .plan-summary-mobile-price {
        font-size: 0.9rem;
        padding-left: 3rem;
        padding-top: 6px;
    }
}

@media (max-width: 500px) {
    .plan-summary-mobile-header .pricing-brand {
        display: none
    }
}
@media (max-width: 420px) {
    .plan-summary-mobile-header .plan-summary-mobile-price {
        padding-left: 2rem;
    }
}
@media (max-width: 390px) {
    .plan-summary-mobile-header .plan-summary-mobile-price {
        padding-left: 1rem;
    }
}