@import url('https://fonts.googleapis.com/css?family=Poppins:400,700,900');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');



.calculator-container {
    margin-top: 2%;
    margin: 0 auto;
    margin: 0 15%;
    padding: 2rem;
    font-family: Poppins;
}

.calculator-container {
    background-color: #191c1f;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: white;
    opacity: .7;
    margin-bottom: 2rem;
}

.plan-options {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-options button {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-options button.active {
    background: #00bdf7;
    border-color: #00bdf7;
    color: white;
}

.calculation-display {
    text-align: center;
    margin: 2rem 0;
}

.amount-display , .Entreprise {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}


.Entreprise {
    display: none;
}

.minus-symbol {
    margin: 0 1rem;
    color: #666;
}

.labels {
    display: flex;
    justify-content: center;
    gap: 4rem;
    color: white;
    opacity: 0.7;
}

.EntrpriseDiv {
    display: flex;
    justify-content: center;
    gap: 4rem;
}


.slider-container {
    margin: 3rem 0;
}

.rate-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.slider {
    position: relative;
}

.slider input[type="range"] {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    outline: none;
}

.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.result-bar {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-tag img {
    width: 24px;
    height: 24px;
}

.estimated-cost p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.estimated-cost h2 {
    margin: 0;
    font-size: 1.5rem;
}

.estimated-cost h2 span {
    font-size: 1rem;
    opacity: 0.8;
}

.get-started {
    background: white;
    color: #1a1f36;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.get-started::after {
    content: "→";
    font-size: 1.2rem;
}


/* ... existing code ... */

/* Responsive Design Rules */
@media screen and (max-width: 1024px) {
    .calculator-container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .plan-options {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .plan-options button {
        flex: 1 1 calc(33.333% - 0.5rem);
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .amount-display {
        font-size: 1.5rem;
    }

    .labels {
        gap: 2rem;
        font-size: 0.9rem;
    }

    .rate-indicators {
        display: none; /* Hide on mobile as they take too much space */
    }
}

@media screen and (max-width: 480px) {
    .calculator-container {
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .plan-options button {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .result-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .price-tag {
        flex-direction: column;
    }

    .estimated-cost h2 {
        font-size: 1.2rem;
    }

    .get-started {
        width: 100%;
        justify-content: center;
    }

    .calculation-display {
        margin: 1.5rem 0;
    }

    .amount-display {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .minus-symbol {
        font-size: 1rem;
    }

    .labels {
        flex-direction: column;
        gap: 0.5rem;
    }

    .slider-markers {
        font-size: 0.8rem;
    }
}

/* Improve touch targets on mobile */
@media (hover: none) {
    .plan-options button,
    .get-started {
        min-height: 44px; /* Minimum touch target size */
    }

    input[type="range"] {
        height: 20px; /* Larger touch target for slider */
    }
}

/* Dark mode support
@media (prefers-color-scheme: dark) {
    .calculator-container {
        background-color: #1a1f36;
        color: white;
    }

    .plan-options button {
        background: #2a2f46;
        border-color: #3a3f56;
        color: white;
    }

    .plan-options button.active {
        background: #00bdf7;
        color: white;
    }

    .result-bar {
        background: #2a2f46;
    }

    .labels span,
    .slider-markers span {
        color: #a0a0a0;
    }
} */

/* ... existing code ... */

.slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    outline: none;
}

/* Slider thumb styles */
.slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #00bdf7;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 0 0 1px #00bdf7;
}

.slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #00bdf7;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 0 0 1px #00bdf7;
}

/* Active state */
.slider input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.1);
}

.slider input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.1);
}

.slider input[type="range"] {
    background: #00bdf7;
}
/* 00bdf7 */