/* Frontend Styles for TEZ Pricing Tables */

/* CSS Variables for Global Settings */
:root {
    --tez-highlight-bg: #007cff;
    --tez-highlight-text: #ffffff;
    --tez-badge-bg: #007cff;
    --tez-badge-text: #ffffff;
    --tez-discount-color: #28a745;
    --tez-sale-color: #dc3545;
    --tez-hot-offer-color: #ff6b35;
    --tez-button-bg: #007cff;
    --tez-button-text: #ffffff;
    --tez-button-hover: #0056b3;
    --tez-border-radius: 8px;
}

/* Reset and Base Styles */
.tez-pricing-tables-wrapper * {
    box-sizing: border-box;
}
span.curr
 {
    font-size: 20px;
    padding-right: 3px;
}
.tez-pricing-tables-wrapper {
    position: relative;
    margin: 20px 0;
    font-family: "DM Sans", Sans-serif;
}
.tez-feature-item i.fa.fa-check:before
 {
    content: url(data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///////wAAACH5BAEAAAIALAAAAAAKAAoAAAISlG8AeMq5nnsiSlsjzmpzmj0FADs=);
}
.tez-pricing-tables-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Individual Pricing Table */
.tez-pricing-table {
    background: #fff;
        border: 1px solid #007FFF;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.tez-pricing-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Highlighted Package */
.tez-pricing-table.tez-highlighted {
    border: 2px solid var(--table-bg-color, var(--tez-highlight-bg));
    transform: scale(1.05);
    z-index: 2;
}

.tez-pricing-table.tez-highlighted:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Hot Offer Package */
.tez-pricing-table.tez-hot-offer {
    border: 2px solid var(--tez-hot-offer-color);
    position: relative;
}

.tez-pricing-table.tez-hot-offer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--tez-hot-offer-color), #ff8c65);
    z-index: -1;
    border-radius: var(--tez-border-radius);
    animation: hotOfferGlow 2s ease-in-out infinite alternate;
}

@keyframes hotOfferGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Highlight Badge */
.tez-highlight-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--table-bg-color, var(--tez-badge-bg));
    color: var(--table-text-color, var(--tez-badge-text));
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 12px 12px;
    z-index: 3;
}

/* Hot Offer Badge */
.tez-hot-offer-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--tez-hot-offer-color);
    color: #ffffff;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Pricing Header */
.tez-pricing-header {
    padding: 30px 20px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #e1e5e9;
}

.tez-highlighted .tez-pricing-header {
    background: linear-gradient(135deg, #007cff, #0056b3);
    color: #fff;
}

.tez-package-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #2c3e50;
}

.tez-highlighted .tez-package-name {
    color: #fff;
}

/* Price Toggle */
.tez-price-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 3px;
	gap:15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
	
}

.tez-price-toggle button {
    flex: 1;
    padding: 8px 16px;
    border: none;
    background: #e1dfdf;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tez-price-toggle button.active {
    background: #fff;
    color: #007cff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tez-highlighted .tez-price-toggle button {
    color: rgba(255, 255, 255, 0.8);
}

.tez-highlighted .tez-price-toggle button.active {
    background: rgba(255, 255, 255, 0.9);
    color: #007cff;
}

/* Price Container */
.tez-price-container {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.tez-price-monthly,
.tez-price-yearly {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.tez-price-monthly.active,
.tez-price-yearly.active {
    opacity: 1;
    transform: translateY(0);
}

.tez-current-price,
.tez-sale-price {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.tez-highlighted .tez-current-price,
.tez-highlighted .tez-sale-price {
    color: var(--table-text-color, #fff);
}

.tez-original-price {
    font-size: 20px;
    color: #6c757d;
    text-decoration: line-through;
}

.tez-highlighted .tez-original-price {
    color: rgba(255, 255, 255, 0.7);
}

/* Discount Badge */
.tez-discount-badge {
    background: var(--tez-discount-color);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    display: inline-block;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.tez-price-period {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
}

.tez-highlighted .tez-price-period {
    color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.tez-pricing-features {
    padding:0 20px;
    flex: 1;
}

.tez-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tez-feature-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f1f3f4;
    color: #000;
    font-size: 14px;
    position: relative;
}

.tez-feature-item:last-child {
    border-bottom: none;
}

.tez-feature-item i {
    margin-right: 12px;
    color: #28a745;
    font-size: 16px;
    width: 16px;
    flex-shrink: 0;
}

.tez-feature-text {
    flex: 1;
}

.tez-feature-item[title] {
    cursor: help;
}

.tez-feature-item[title]:hover {
    background: rgba(0, 124, 255, 0.05);
    border-radius: 4px;
    margin: 0 -10px;
    padding: 12px 10px;
}

/* Pricing Footer */
.tez-pricing-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e1e5e9;
    margin-top: auto;
}

.tez-pricing-button {
    display: inline-block;
    background: linear-gradient(135deg, #007cff, #0056b3);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 124, 255, 0.3);
}

.tez-pricing-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

.tez-pricing-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.tez-highlighted .tez-pricing-button {
    background: #fff;
    color: #007cff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tez-highlighted .tez-pricing-button:hover {
    background: #f8f9fa;
    color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* CTA Button (Alternative naming) */
.tez-cta-button {
    display: inline-block;
    background: var(--table-button-bg, var(--tez-button-bg));
    color: var(--table-button-text, var(--tez-button-text)) !important;
    padding: 14px 28px;
    border: none;
    border-radius: var(--tez-border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 124, 255, 0.3);
}

.tez-cta-button:hover {
    background: var(--table-button-bg, var(--tez-button-hover));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 255, 0.4);
    color: var(--table-button-text, var(--tez-button-text));
    text-decoration: none;
}

.tez-highlighted .tez-cta-button {
    background: #fff;
    color: var(--table-bg-color, var(--tez-highlight-bg)) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tez-highlighted .tez-cta-button:hover {
    background: #f8f9fa;
    color: var(--table-bg-color, var(--tez-highlight-bg));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tez-hot-offer .tez-cta-button {
    background: var(--tez-hot-offer-color);
    color: #ffffff;
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Carousel Styles */
.tez-pricing-tables-wrapper.carousel-active .tez-pricing-tables-container {
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tez-pricing-tables-wrapper.carousel-active .tez-pricing-table {
    flex: 0 0 auto;
    width: 100%;
    margin-right: 20px;
}

/* Carousel Navigation */
.tez-carousel-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.tez-carousel-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tez-carousel-nav button:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.tez-carousel-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tez-carousel-prev {
    margin-left: -24px;
}

.tez-carousel-next {
    margin-right: -24px;
}

/* Carousel Dots */
.tez-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.tez-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e1e5e9;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tez-carousel-dot.active {
    background: #007cff;
}

.tez-carousel-dot:hover {
    transform: scale(1.2);
}

/* No Tables Message */
.tez-no-tables {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
}

/* Slick Carousel Custom Styling */
.tez-pricing-tables-wrapper.tez-carousel-active .slick-dots {
    text-align: center;
    margin-top: 20px;
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-dots li button {
    background: #ddd;
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-dots li.slick-active button {
    background: var(--button-bg, #007cff);
    transform: scale(1.2);
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-prev,
.tez-pricing-tables-wrapper.tez-carousel-active .slick-next {
    background: var(--button-bg, #007cff);
    color: var(--button-text, #ffffff);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-prev:hover,
.tez-pricing-tables-wrapper.tez-carousel-active .slick-next:hover {
    background: var(--button-hover, #0056b3);
    transform: scale(1.1);
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-prev {
    left: 0;
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-next {
    right: 0;
}

.tez-pricing-tables-wrapper.tez-carousel-active .slick-prev:before,
.tez-pricing-tables-wrapper.tez-carousel-active .slick-next:before {
    display: none;
}

/* Package Description */
.tez-package-description {
    padding:  20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    border-bottom: 1px solid #e9ecef;
}

.tez-package-description p {
    margin: 0 0 10px 0;
}

.tez-package-description p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tez-pricing-tables-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .tez-pricing-table.tez-highlighted {
        transform: none;
    }
    
    .tez-pricing-table.tez-highlighted:hover {
        transform: translateY(-5px);
    }
    
    .tez-package-name {
        font-size: 20px;
    }
    
    .tez-current-price,
    .tez-sale-price {
        font-size: 28px;
    }
    
    .tez-pricing-header {
        padding: 20px 15px 15px;
    }
    
    .tez-pricing-features,
    .tez-pricing-footer {
        padding: 15px;
    }
    
    .tez-carousel-nav button {
        width: 40px;
        height: 40px;
    }
    
    .tez-carousel-prev {
        margin-left: -20px;
    }
    
    .tez-carousel-next {
        margin-right: -20px;
    }
}

@media (max-width: 480px) {
    .tez-pricing-tables-wrapper {
        margin: 15px;
    }
    
    .tez-pricing-tables-container {
        padding: 0 5px;
    }
    
    .tez-pricing-header {
        padding: 15px 10px;
    }
    
    .tez-pricing-features,
    .tez-pricing-footer {
        padding: 10px;
    }
    
    .tez-feature-item {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .tez-pricing-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .tez-pricing-tables-wrapper {
        display: block !important;
    }
    
    .tez-pricing-tables-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .tez-pricing-table {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .tez-carousel-nav,
    .tez-carousel-dots {
        display: none !important;
    }
}
