﻿
    /* Calculator Section Styled to Match Site Theme */

.inscontainer {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 60px;
    margin-left: 200px;
    margin-right: 200px;
}

.calculator-section {
    flex: 1 1 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

    .calculator-section h2 {
        font-size: 28px;
        font-weight: 700;
        color: var(--thm-primary, #2c3e50);
        position: relative;
        margin-bottom: 15px;
    }

        .calculator-section h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 50px;
            height: 3px;
            background-color: var(--thm-secondary, #3498db);
        }

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .input-group label {
        font-weight: 600;
        color: #333;
        font-size: 15px;
    }

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 22px;
        height: 22px;
        background: var(--thm-secondary, #3498db);
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.range-container {
    position: relative;
    display: flex;
    align-items: center;
}

.range-value {
    position: absolute;
    right: 0;
    background: var(--thm-secondary, #3498db);
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

    input[type="text"]:focus {
        border-color: var(--thm-secondary, #3498db);
        outline: none;
    }

.cta-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background-color: var(--thm-secondary, #3498db);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .cta-button:hover {
        background-color: #2980b9;
        transform: translateY(-2px);
    }

#result-container {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: #eef7ff;
    border: 1px solid #b3d9ff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-primary, #2c3e50);
    display: none;
}

    #result-container.show {
        display: block;
    }

.info-section {
    flex: 1 1 50%;
    background: #f9fbfd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

    .info-section svg {
        margin-bottom: 20px;
    }

    .info-section h3 {
        color: var(--thm-primary, #2c3e50);
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .info-section p {
        color: #555;
        font-size: 15px;
        line-height: 1.6;
        max-width: 300px;
    }

@media (max-width: 991px) {
    .inscontainer {
        flex-direction: column;
    }

    .calculator-section, .info-section {
        margin-left: 50px;
        margin-right: 50px;
        flex: 1 1 100%;
        padding: 30px;
    }
}


