/**
 * HVAC Load Calculator Styles
 */

/* Container */
.hvac-calculator-container {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 8px 8px 50px 0px rgba(0, 0, 0, 0.15);
    padding: 25px;
    max-width: 1300px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Header */
.hvac-calculator-header {
    text-align: center;
    margin-bottom: 50px;
}

.hvac-calculator-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: #545454;
    line-height: 34px;
    margin: 0;
}

/* Main Content Layout */
.hvac-calculator-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Inputs Column */
.hvac-calculator-inputs {
    order: 2;
}

.hvac-inputs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Input Section */
.hvac-input-section {
    display: flex;
    flex-direction: column;
}

.hvac-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hvac-input-labels {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hvac-input-label {
    font-size: 18px;
    font-weight: 600;
    color: #545454;
    line-height: 24px;
    margin: 0;
}

.hvac-input-description {
    font-size: 18px;
    font-weight: 400;
    color: #545454;
    line-height: 24px;
    margin: 0;
}

/* Select Dropdown */
.hvac-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.hvac-select {
    width: 100%;
    padding: 8px 15px;
    padding-right: 50px;
    background: #ffffff;
    border: 1px solid #b6b0b0;
    font-size: 16px;
    font-weight: 600;
    color: #2f2f2f;
    line-height: 28px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.hvac-select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 30px;
    height: 30px;
}

.hvac-select-icon img {
    width: 100%;
    height: 100%;
}

/* Input Fields */
.hvac-input {
    width: 100%;
    padding: 8px 15px;
    background: #ffffff;
    border: 1px solid #b6b0b0;
    font-size: 16px;
    font-weight: 600;
    color: #2f2f2f;
    line-height: 28px;
}

/* Hide number input spinners */
.hvac-input::-webkit-inner-spin-button,
.hvac-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hvac-input {
    -moz-appearance: textfield;
}

/* Map Column */
.hvac-calculator-map {
    order: 1;
}

.hvac-map-container {
    background: #ffffff;
    height: 208px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hvac-map-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Calculate Button */
.hvac-calculator-button-wrapper {
    padding: 25px 0;
}

.hvac-calculate-button {
    width: 100%;
    background: #ef3f42;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    padding: 12px 20px;
    border-radius: 1000px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.hvac-calculate-button:hover {
    background: #d63538;
}

/* Results Section */
.hvac-results {
    display: none;
    background: #f3f0f0;
    border-radius: 25px;
    padding: 25px;
}

.hvac-results.visible {
    display: block;
}

.hvac-results-header {
    text-align: center;
    margin-bottom: 10px;
}

.hvac-results-header h3 {
    font-size: 32px;
    font-weight: 600;
    color: #545454;
    line-height: 38px;
    margin: 0;
}

.hvac-results-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hvac-result-item {
    text-align: center;
}

.hvac-result-label {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hvac-result-label p {
    font-size: 20px;
    font-weight: 600;
    color: #545454;
    line-height: 24px;
    margin: 0;
}

.hvac-result-value {
    padding: 8px 0;
}

.hvac-result-value p {
    font-size: 32px;
    font-weight: 800;
    color: #545454;
    line-height: 38px;
    margin: 0;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .hvac-calculator-container {
        padding: 50px;
    }

    .hvac-calculator-header h2 {
        font-size: 32px;
        line-height: 38px;
    }

    .hvac-calculator-content {
        flex-direction: row;
        gap: 25px;
    }

    .hvac-calculator-inputs {
        flex: 1;
        order: 1;
    }

    .hvac-inputs-wrapper {
        gap: 8px;
    }

    .hvac-input-section {
        padding: 12px 0;
    }

    .hvac-input-description {
        line-height: 38px;
    }

    .hvac-select-wrapper {
        max-width: 457px;
    }

    .hvac-input {
        max-width: 457px;
    }

    .hvac-calculator-map {
        flex: 1;
        order: 2;
    }

    .hvac-map-container {
        height: 442px;
        max-width: 601px;
    }

    .hvac-results-grid {
        flex-direction: row;
    }

    .hvac-result-item {
        flex: 1;
    }
}
