/* Scoped styles for Pricing.razor - Complete with all extracted inline styles */

/* === LAYOUT CONTAINERS === */
.pricing-page-container {
    background-color: var(--antologa-white);
    min-height: 100%;
    min-width: 100% !important;
    display: flex;
    flex-direction: column;
}

.pricing-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    width: 100%;
    margin-bottom: 5vh;
}

.pricing-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pricing-grid {
    display: flex;
    flex-direction: row;
    flex: 0;
}

    .pricing-grid .mud-grid {
        flex-wrap: nowrap !important;
        width: 100%;
        align-content: center;
    }

/* === HEADER SECTION === */
.pricing-header {
    margin-bottom: 3rem;
    text-align: center;
}

.pricing-header-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    color: var(--antologa-dark) !important;
}

.pricing-header-subtitle {
    font-family: 'Nunito', sans-serif !important;
    color: var(--antologa-gray) !important;
}

/* === TYPOGRAPHY === */
.pricing-font-inter {
    font-family: 'Inter', sans-serif !important;
}

.pricing-font-nunito {
    font-family: 'Nunito', sans-serif !important;
}

.pricing-fw-bold {
    font-weight: 700 !important;
}

/* === COLOR UTILITIES === */
.pricing-text-dark {
    color: var(--antologa-dark) !important;
}

.pricing-text-gray {
    color: var(--antologa-gray) !important;
}

.pricing-text-primary {
    color: var(--antologa-primary) !important;
}

.pricing-bg-light-gray {
    background-color: var(--antologa-light-gray) !important;
}

/* === SPACING UTILITIES === */
.pricing-mt-6 {
    margin-top: 1.5rem;
}

.pricing-mt-4 {
    margin-top: 1rem;
}

.pricing-mt-1 {
    margin-top: 0.25rem;
}

.pricing-mt-auto {
    margin-top: auto;
}

.pricing-mb-12 {
    margin-bottom: 3rem;
}

.pricing-mb-8 {
    margin-bottom: 2rem;
}

.pricing-mb-6 {
    margin-bottom: 1.5rem;
}

.pricing-mb-2 {
    margin-bottom: 0.5rem;
}

.pricing-ml-2 {
    margin-left: 0.5rem;
}

.pricing-py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pricing-py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pricing-py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.pricing-px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pricing-px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.pricing-pa-4 {
    padding: 1rem;
}

.pricing-pb-1 {
    padding-bottom: 0.25rem;
}

/* === FLEXBOX UTILITIES === */
.pricing-d-flex {
    display: flex !important;
}

.pricing-d-block {
    display: block !important;
}

.pricing-flex-column {
    flex-direction: column !important;
}

.pricing-flex-grow-1 {
    flex-grow: 1 !important;
}

.pricing-flex-shrink-0 {
    flex-shrink: 0 !important;
}

.pricing-flex-wrap {
    flex-wrap: wrap !important;
}

.pricing-align-center {
    align-items: center !important;
}

.pricing-align-start {
    align-items: flex-start !important;
}

.pricing-justify-center {
    justify-content: center !important;
}

.pricing-w-100 {
    width: 100% !important;
}

.pricing-text-center {
    text-align: center !important;
}

/* === TOGGLE STYLING === */
.pricing-toggle-container {
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
}

.pricing-toggle-button {
    border-radius: 9999px;
    font-family: 'Inter', sans-serif !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

.pricing-transition-fast {
    transition: all 0.3s ease;
}

/* === BILLING TOGGLE === */
.pricing-billing-toggle {
    margin-top: 1rem;
}

.pricing-billing-label {
    font-family: 'Nunito', sans-serif !important;
}

.pricing-billing-label-active {
    color: var(--antologa-dark) !important;
    font-weight: 700;
}

.pricing-billing-label-inactive {
    color: var(--antologa-gray) !important;
}

/* === CARD STYLING === */
.pricing-card {
    border: 1px solid var(--antologa-light-gray);
    border-radius: 1rem;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-color: var(--antologa-primary) !important;
    }

/* === POPULAR CARD STYLING === */
.pricing-card-popular {
    border: 2px solid var(--antologa-primary) !important;
    box-shadow: 0 8px 24px rgba(7, 130, 130, 0.1);
}

.pricing-badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--antologa-contrast);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    font-family: 'Nunito', sans-serif !important;
}

/* === CARD CONTENT === */
.pricing-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-card-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--antologa-gray) !important;
    margin-bottom: 1.5rem;
    font-family: 'Nunito', sans-serif !important;
    min-height: 3rem;
}

/* === PRICE DISPLAY === */
.pricing-price-container {
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.pricing-price-amount {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    color: var(--antologa-dark) !important;
}

.pricing-price-period {
    color: var(--antologa-gray) !important;
    padding-bottom: 0.25rem;
    font-family: 'Nunito', sans-serif !important;
}

/* === BUTTON STYLING === */
.pricing-btn-action {
    text-transform: none;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: none;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
}

    .pricing-btn-action:hover {
        box-shadow: 0 4px 12px rgba(7, 130, 130, 0.2);
    }

/* === FEATURES LIST === */
.pricing-features-list {
    /* spacing controlled by MudStack */
}

.pricing-feature-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.pricing-feature-icon {
    color: var(--antologa-primary) !important;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.pricing-feature-text {
    font-family: 'Nunito', sans-serif !important;
    color: var(--antologa-dark) !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1279px) {

    .pricing-toggle-container {
        flex-direction: column;
        border-radius: 16px !important;
    }

        .pricing-toggle-container .mud-button-root {
            width: 100%;
            margin-bottom: 4px;
        }
}

@media (max-width: 959px) {
    .pricing-card {
        margin-bottom: 1rem;
    }

    .pricing-header {
        margin-bottom: 2rem;
    }

    .pricing-grid {
        flex-direction: column;
    }
}

/* === ANIMATIONS === */
@keyframes pricing-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pricing-card-popular:hover {
    animation: pricing-pulse 1s ease-in-out infinite;
}
