/* wp-login-signup-form/assets/css/pricing-table.css */

:root {
    --brand-pink: #DF0050;
    --brand-purple: #DF0050;
    --brand-dark: #120c29;
    --brand-light: #F8F7FA;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brand-light);
    color: #1a1a2e;
}

.btn-primary {
    background-color: var(--brand-pink);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(223, 0, 80, 0.39);
}

#billing-toggle-button {
    background-color: #DF0050 !important;
}

#billing-toggle-button:active {
    background-color: #c90048 !important;
}

.btn-primary:hover {
    background-color: #c90048;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px 0 rgba(223, 0, 80, 0.45);
	color: white;
}

.btn-secondary {
    background-color: var(--brand-pink) !important;
    color: white;
    border: 2px solid var(--brand-pink);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--brand-pink);
    color: white;
}

.btn-primary:active, .btn-secondary:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 2px 8px 0 rgba(223, 0, 80, 0.35);
}

.section-title {
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--brand-dark);
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.pricing-card.popular {
    border: 2px solid var(--brand-pink);
}

.pricing-card:not(.popular):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.save-tag {
    display: inline-block;
    background-color: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    border: 1px solid #16a34a;
}

.total-annual-price {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 1024px) {
    .pricing-card.popular {
        transform: scale(1.05);
    }
}

@media (max-width: 1023px) {
    /* This new rule constrains the width of the stacked cards on tablets */
    #pricing .grid {
        max-width: 420px; /* Adjust this value as needed */
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.popular {
        transform: scale(1);
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .grid > .pricing-card:first-child {
        margin-top: 0;
    }
    .grid > .pricing-card:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2.25rem;
    }
    #pricing {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .pricing-card {
        padding: 1.5rem;
    }
    .pricing-card .text-5xl {
        font-size: 2.5rem;
    }
}
