/**
 * Tourmie Pricing Plans Page Styles
 * Combined styles from tourmie-pricing.css and new plan cards styling
 */

/* Tourmie Brand Colors */
:root {
    --tourmie-blue: #27a9e0;
    --tourmie-gray: #6c757d;
    --tourmie-black: #051320;
    --pricing-lightgray: #f6f6f6;
}

/* Body */
body {
    background: #f9f9f9 !important;
    color: #5f727f !important;
}

/* Page Header */
.pricing-page-title {
    font-size: 50px;
    margin-top: 76px;
    margin-bottom: 36px;
}

.pricing-page-header {
    margin-bottom: 4rem !important;
}

/* Main Card */
.rounded-lg {
    border-radius: 2rem !important;
}

.main-pricing-card {
    padding: 3rem 5rem !important;
    box-shadow: 0 0 transparent, 0 0 transparent, 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%) !important;
}

/* Currency Row */
.row-currency {
    margin-bottom: 4rem;
    /* justify-content: center; */
}

select.currency-dropdown {
    border-radius: 50px;
}

/* .form-inline-currency {
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* Tab Navigation */
.nav-tabs-links-container {
    border-bottom: none !important;
}

button.pricing-button.nav-link {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom: none !important;
    font-size: 16px !important;
}

button.pricing-button.nav-link.active {
    border: none !important;
    box-shadow: 0 0 transparent, 0 0 transparent, 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%) !important;
}

/* Ion RangeSlider Customization */
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single,
.irs--round .irs-bar {
    background-color: #27a9e0 !important;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before {
    border-top-color: #27a9e0 !important;
}

.irs--round .irs-handle {
    border: 4px solid #27a9e0 !important;
}

/* Color Utilities */
.color-pricing-gray {
    color: #5f727f !important;
}

.color-pricing-black {
    color: #051320 !important;
}

.color-pricing-tourmie-blue {
    color: #27a9e0 !important;
}

.color-pricing-white {
    color: #ffffff !important;
}

.bg-pricing-lightgray {
    background-color: #f6f6f6 !important;
}

.bg-tourmie-blue {
    background-color: #27a9e0 !important;
}

.bg-tourmie-black {
    background-color: #051320 !important;
}

/* Font Weight */
.font-weight-500 {
    font-weight: 500 !important;
}

/* Font Sizes */
.font-size-13 {
    font-size: 13px !important;
}

.font-size-14 {
    font-size: 14px !important;
}

.font-size-15 {
    font-size: 15px !important;
}

.font-size-16 {
    font-size: 16px !important;
}

.font-size-17 {
    font-size: 17px !important;
}

.font-size-18 {
    font-size: 18px !important;
}

.font-size-20 {
    font-size: 20px !important;
}

.font-size-30 {
    font-size: 30px !important;
}

.font-size-32 {
    font-size: 32px !important;
}

.font-size-42 {
    font-size: 42px !important;
}

/* Section Spacing */
#pricing-section {
    padding-bottom: 2rem !important;
}

#features-section {
    padding-bottom: 1rem !important;
}

#whats-included-section {
    padding-bottom: 3rem !important;
}

#clients-section {
    padding-bottom: 5rem !important;
}

#faq-section {
    padding-bottom: 5rem !important;
}

#cta-footer-section {
    padding-top: 2rem;
    padding-bottom: 7rem;
}

/* Features Section */
.features-section {
    margin-top: 5rem;
}

.col-feature-item {
    margin-bottom: 2rem !important;
}

.feature-item-title {
    font-size: 18px;
    font-weight: 600;
}

.feature-item-subtitle {
    line-height: 24px;
}

/* What's Included Section */
.col-whats-included-item {
    margin-bottom: 1.5rem !important;
}

.whats-included-item-title {
    font-size: 16px;
    font-weight: 500;
}

.row-more-features {
    margin-top: 2rem;
}

/* FAQ */
.row-faq-item-container:not(:last-of-type) {
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 1rem;
}

.faq-answer-container {
    font-size: 16px;
}

.faq-question-title::after {
    content: "\f107";
    color: #333;
    top: 8px;
    right: 8px;
    position: absolute;
    font-family: "FontAwesome"
}

.faq-question-title[aria-expanded="true"]::after {
    content: "\f106";
}

/* CTA Footer */
.card-footer-cta {
    background-color: #D2EDF9 !important;
    border-color: #D2EDF9 !important;
}

.row-subscription-cta {
    margin-top: 4rem !important;
    margin-bottom: 2rem !important;
}

/* Misc */
.text-uppercase {
    letter-spacing: 0rem !important;
}

.cursor-pointer:hover {
    cursor: pointer;
}

.custom-separator {
    width: 8rem;
    height: 6px;
    border-radius: 1rem;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.text-small {
    font-size: 0.9rem !important;
}

.mb-2-rem {
    margin-bottom: 2rem !important;
}

/* Container */
.tourmie-pricing-container {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Properties Number Slider Section */
.row-subscription-properties-number-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.row-subscription-properties-number-slider .col-12 {
    width: 100%;
}

.row-subscription-properties-number-slider h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Billing Interval Toggle Section */
.row-subscription-billing-interval-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.billing-label {
    font-size: 15px;
    color: inherit;
    font-weight: normal;
    white-space: nowrap;
}

.billing-toggle {
    border: 1px solid #dee2e6;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem;
    border-radius: 50px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.billing-toggle .btn {
    border: none;
    border-radius: 50px;
    padding: 0.375rem 0.75rem;
    color: #6c757d;
    background-color: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-right: 0.25rem;
}

.billing-toggle .btn:last-child {
    margin-right: 0;
}

.billing-toggle .btn.active {
    background-color: #fff;
    color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.billing-toggle .btn:hover:not(.active) {
    color: #000;
}

/* Subscription Plans Container */
.row-subscription-plans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -0.5rem;
}

.col-subscription-plan {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

/* Plan Card */
.card-subscription-plan {
    width: 100%;
    height: 100%;
    border: 1px solid lightgray;
    border-radius: 10px;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    background: #fff;
}

.card-subscription-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #fafafa !important;
    border-color: var(--tourmie-blue);
    border-width: 2px;
}

.card-subscription-plan.selected {
    border-color: var(--tourmie-blue);
    box-shadow: 0 0 0 2px var(--tourmie-blue);
}

.card-subscription-plan.most-popular {
    border-color: var(--tourmie-blue);
    border-width: 2px;
}

/* Most Popular Badge */
.plan-badge-most-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.plan-badge-most-popular .badge-text {
    background-color: var(--tourmie-blue);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(39, 169, 224, 0.3);
}

.card-subscription-plan .card-body {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.card-subscription-plan .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.card-subscription-plan .row:not(.row-hr) {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.card-subscription-plan .row .col-12 {
    width: 100%;
    padding: 0;
}

/* Plan Icon */
.row-plan-icon {
    margin-bottom: 0.75rem;
}

.row-plan-icon .plan-icon {
    width: 50px;
    height: 50px;
}

/* Plan Title */
.row-plan-title {
    margin-bottom: 0.5rem;
}

.plan-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.1rem !important;
    color: #000;
}

/* Plan Description */
.row-plan-description {
    margin-bottom: 1rem;
}

.plan-description {
    font-size: 14px;
    color: var(--tourmie-gray);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Plan Price */
.row-plan-price-per-unit {
    margin-bottom: 2rem !important;
}

.plan-price-per-unit-amount {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0px;
    margin-right: 4px;
    color: #000;
}

.plan-price-per-unit-description {
    display: block;
    color: var(--tourmie-gray);
    font-size: 12px;
    line-height: 1.5;
}

/* Select Button */
.btn-select-plan {
    width: 100%;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Allow text to wrap on smaller screens */
    white-space: normal;
}

.btn-outline-tourmie-blue {
    color: var(--tourmie-blue);
    border: 1px solid var(--tourmie-blue);
    background-color: transparent;
}

.btn-outline-tourmie-blue:hover {
    color: #fff;
    background-color: var(--tourmie-blue);
    border-color: var(--tourmie-blue);
}

.btn-tourmie-blue {
    color: #fff;
    background-color: var(--tourmie-blue);
    border: 1px solid var(--tourmie-blue);
}

.btn-tourmie-blue:hover {
    background-color: #1f8fc0;
    border-color: #1f8fc0;
}

/* Divider */
.row-hr {
    margin: 0;
}

.row-hr hr {
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    border: 0;
    border-top: 1px solid #dee2e6;
}

/* Plan Features */
.row-plan-features {
    margin-bottom: 1rem;
}

.plan-features-included-label {
    color: var(--tourmie-gray);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-features-list {
    padding-inline-start: 0px;
    list-style: none;
}

/*
.plan-features-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
}

.plan-features-list li:last-child {
    margin-bottom: 0;
}

.plan-features-list li .feature-label {
    color: var(--tourmie-gray);
    font-size: 14px;
} */

/* .plan-features-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    margin-right: 8px;
} */

/* .plan-features-list li.feature-tick:before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
} */

/* .plan-features-list li.feature-times:before {
    content: '✗';
    color: #dc3545;
    font-weight: bold;
} */

/* Total Amount */
.row-plan-total-amount {
    position: absolute;
    bottom: 12px;
    left: 1.25rem;
    right: 1.25rem;
}

.plan-total-amount {
    margin-bottom: 0;
    font-size: 13px;
    color: var(--tourmie-gray);
}

.card-subscription-plan.selected .row-plan-total-amount .plan-total-amount {
    font-weight: 600;
    font-size: 14px;
}

/* Tax Notice */
.font-size-13 {
    font-size: 13px;
}

.text-muted {
    color: #6c757d;
}

.font-italic {
    font-style: italic;
}

/* Discount Coupon */
.row-discount-coupon {
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}

/* Update Button (Fixed Position) */
.btn-subscription-update-static {
    position: fixed;
    right: 100px;
    left: auto;
    bottom: 25px;
    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 6px 20px rgb(0 0 0 / 20%);
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .col-sm-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 992px) {
    .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .offset-lg-1 {
        margin-left: 8.333333%;
    }
}

@media (min-width: 1200px) {
    .col-xl-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-xl-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 1400px) {
    .col-xxl-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-xxl-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

/* Base Grid Classes */
/* .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
} */

/* Utility Classes */
/* .text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.p-1 {
    padding: 0.25rem;
}

.d-inline-flex {
    display: inline-flex;
}

.align-items-center {
    align-items: center;
}

.rounded-pill {
    border-radius: 50rem;
}

.bg-light {
    background-color: #f8f9fa;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.border-radius-8 {
    border-radius: 8px;
}

.btn-block {
    display: block;
    width: 100%;
}

.font-size-14 {
    font-size: 14px;
} */

/* Responsive Media Queries */
@media (max-width: 991.98px) {
    button.pricing-button.nav-link {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .pricing-page-title {
        font-size: 42px;
        margin-top: 32px;
        margin-bottom: 20px;
    }

    .main-pricing-card {
        padding: 3rem !important;
    }

    .row-more-features {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .btn-subscription-update-static {
        right: 50%;
        left: auto;
        transform: translateX(50%);
        bottom: 25px;
    }

    /* Billing label on mobile: stack vertically */
    .billing-label {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0.75rem;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .form-inline-currency .form-group {
        display: flex !important;
    }
}

/* Responsive adjustments for plan columns to prevent cramped layout */

/* XL screens (1200px - 1599px): Make columns wider, reduce from 5 to 4 cards per row */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    .col-subscription-plan {
        flex: 0 0 20%;
        max-width: 20%;
    }

    /* Reduce container padding to give more space */
    .main-pricing-card {
        padding: 3rem 3rem !important;
    }
}

/* XXL screens (1600px+): 5 cards per row with comfortable spacing */
@media (min-width: 1600px) {
    .col-subscription-plan {
        flex: 0 0 19%;
        max-width: 19%;
    }
}