/* Styles for the SEER Calculator */
.seer-calculator-container {
    display: flex;
    max-width: 1080px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.seer-calculator-form, .seer-calculator-output {
    width: 60%; /* Increased width by 20% */
    padding: 20px;
}

.seer-calculator-form {
    padding-right: 40px;
}

.seer-calculator-form h2, .seer-calculator-output h2 {
    text-align: center;
    margin-bottom: 20px;
}

.seer-calculator label {
    display: block;
    font-size: 1rem;
    color: #555;
    margin-top: 15px;
    margin-bottom: 5px;
}

.seer-calculator label + input {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.seer-calculator button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    background-color: #4caf50;
    color: #fff;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.seer-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.seer-result-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
    width: 50%;
}

.seer-results-row {
    display: flex;
    gap: 10px;
}

.current-ac-text {
    font-size: 1.2rem;
    color: #000; /* Black text */
    font-weight: bold;
}

.new-ac-text {
    font-size: 1.2rem;
    color: #000; /* Black text */
    font-weight: bold;
}

.old-ac-cost {
    color: red;
    font-weight: bold;
    font-size: 2em;
}

.new-ac-cost {
    color: green;
    font-weight: bold;
    font-size: 2em;
}

.center-text {
    text-align: center;
    margin-top: 10px;
}

.savings-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e0f7fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.savings-box h3 {
    color: #4caf50;
    font-size: 1.5em;
    margin: 0;
}

.savings-box p {
    font-size: 1em;
    color: #666;
}

.savings-columns {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.savings-columns .seer-result-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1em;
}

/* Container Styling */
    .seer-calculator-form {
        max-width: 600px;
        margin: 0 auto;
        padding: 40px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        font-family: 'Arial', sans-serif;
    }

    /* Title Styling */
    .seer-calculator-form h2 {
        text-align: center;
        font-size: 32px;
        color: #333;
        margin-bottom: 30px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    /* Form Group Styling */
    .form-group {
        margin-bottom: 12px; /* Reduced margin between fields */
        display: flex;
        flex-wrap: wrap; /* Allow input fields to wrap when necessary */
        justify-content: space-between; /* Ensure label/input are spaced out */
    }

    /* Label Styling */
    .form-group label {
        display: block;
        font-size: 16px;
        color: #555;
        margin-bottom: 6px; /* Reduced margin between label and input */
        font-weight: 500;
        width: 100%; /* Ensure labels take full width */
    }

    /* Input Field Styling */
    .form-group input {
        width: 100%; /* Take full width on mobile */
        padding: 12px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background-color: #f9f9f9;
        transition: border-color 0.3s ease;
    }

    /* Make input fields side-by-side on larger screens */
    @media screen and (min-width: 768px) {
        .form-group input {
            width: 48%; /* Each input field takes 48% of the width on larger screens */
        }
    }

    /* Input Focus Effect */
    .form-group input:focus {
        border-color: #4CAF50;
        outline: none;
    }

    /* Remove number input spinner (arrows) */
    .form-group input[type="number"]::-webkit-outer-spin-button,
    .form-group input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .form-group input[type="number"] {
        -moz-appearance: textfield; /* Firefox */
    }

    /* Button Styling */
    .form-group button {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 14px;
        font-size: 18px;
        cursor: pointer;
        border-radius: 6px;
        width: 100%;
        transition: background-color 0.3s ease;
        font-weight: 600;
    }

    /* Button Hover Effect */
    .form-group button:hover {
        background-color: #45a049;
    }

    /* Button Active Effect */
    .form-group button:active {
        background-color: #388e3c;
    }
    
    
/* General styles for both columns */
.seer-calculator-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.seer-calculator-form,
.seer-calculator-output {
    flex: 1;
    min-width: 45%;
    box-sizing: border-box;
}

/* Form section styling */
.seer-calculator-form {
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
}

.seer-calculator-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    font-size: 16px;
    border-radius: 4px;
}

/* Results section styling */
.seer-calculator-output {
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
}

.seer-calculator-output h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.seer-results-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.seer-result-box {
    flex: 1;
    min-width: 30%;
    box-sizing: border-box;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.seer-result-box h3 {
    font-size: 22px;
    color: #333;
}

.savings-box, .savings-columns {
    margin-top: 20px;
}

.savings-box h3 {
    font-size: 24px;
    color: #d9534f; /* Red color */
}

.savings-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Mobile and Tablet styles */
@media (max-width: 768px) {
    /* Stack form and results */
    .seer-calculator-form,
    .seer-calculator-output {
        min-width: 100%;
        flex: 1;
    }

    .seer-results-row {
        flex-direction: column;
    }

    .seer-result-box {
        min-width: 100%;
    }

    .savings-columns {
        flex-direction: column;
    }

    .savings-columns .seer-result-box {
        min-width: 100%;
    }
}

/* Further customization for small devices */
@media (max-width: 480px) {
    .seer-calculator-form h2,
    .seer-calculator-output h2 {
        font-size: 20px;
    }

    .form-group input,
    .form-group button {
        font-size: 14px;
    }

    .seer-result-box h3 {
        font-size: 18px;
    }
}
