/* ===== NEW PRICING TABLE STYLES ===== */

/* Main container for the pricing section */
#pricing-families {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

/* Styling for the toggle switch */
.toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.toggle-btn span {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0 15px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Card Styles */
.pricing-card-new {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.pricing-card-new.recommended {
    border-color: #0d6efd;
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card-new.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card-new .plan-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1rem;
}

.pricing-card-new .price-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.pricing-card-new .price-period {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.pricing-card-new .feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.pricing-card-new .feature-list li {
    margin-bottom: 0.75rem;
    color: #495057;
}

.pricing-card-new .feature-list i {
    color: #28a745;
    margin-right: 10px;
}

.pricing-card-new .btn-choose-plan {
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    width: 100%;
}

.recommended .btn-choose-plan {
    background-color: #0d6efd;
    color: white;
}

.recommended-badge-new {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #0d6efd;
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card {
    overflow: hidden; /* To contain the badge */
}

.text1, .text2 {
    display: inline-block;
}
