/*
 * ACSizingCalculator - Calculator-Specific Styles
 * ⚠️ DO NOT redefine global classes (.form-input, .btn-custom, .glass-card, etc.)
 * See GLOBAL_CSS_CLASSES.md for reference
 */

/* Result Display Styles */
.result-ac-capacity {
    text-align: center;
    margin: 20px 0;
}

.result-unit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin: 8px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.result-unit-row:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.result-unit-label {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
}

.result-unit-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}

.result-unit-note {
    font-size: 0.75rem;
    color: #718096;
    font-style: italic;
    margin-left: 8px;
}

/* AC Model Recommendation */
.ac-recommendation {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
}

.ac-recommendation-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ac-recommendation-title i {
    color: #f59e0b;
}

.ac-recommendation-content {
    font-size: 0.95rem;
    color: #78350f;
    line-height: 1.6;
}

.ac-recommendation-models {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.ac-recommendation-models strong {
    color: #92400e;
}

/* Warning Box for Tonnage Confusion */
.tonnage-warning {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
    border-radius: 8px;
}

.tonnage-warning-title {
    font-size: 1rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tonnage-warning-title i {
    color: #ef4444;
}

.tonnage-warning-content {
    font-size: 0.9rem;
    color: #7f1d1d;
    line-height: 1.6;
}

/* Unit Conversion Table */
.unit-conversion-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.unit-conversion-table th,
.unit-conversion-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.unit-conversion-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.unit-conversion-table td {
    font-size: 0.9rem;
    color: #4a5568;
}

.unit-conversion-table tr:hover td {
    background: #f9fafb;
}

.unit-conversion-table .unit-name {
    font-weight: 600;
    color: #667eea;
}

.unit-conversion-table .unit-value {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    color: #2d3748;
}

.unit-conversion-table .unit-desc {
    font-size: 0.8rem;
    color: #718096;
    font-style: italic;
}

/* Room Size Display */
.room-size-display {
    margin-top: 10px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #48bb78;
    border-radius: 8px;
    text-align: center;
}

.room-size-display .size-label {
    font-size: 0.85rem;
    color: #065f46;
    margin-bottom: 5px;
}

.room-size-display .size-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #48bb78;
}

.room-size-display .size-unit {
    font-size: 1rem;
    color: #059669;
    margin-left: 5px;
}

/* Checkbox Group Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-item label {
    font-size: 1rem;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

/* Chart Container */
.chart-container-ac {
    position: relative;
    height: 300px;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .result-unit-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .result-unit-value {
        font-size: 1.5rem;
    }

    .chart-container-ac {
        height: 250px;
    }

    .unit-conversion-table {
        font-size: 0.85rem;
    }

    .unit-conversion-table th,
    .unit-conversion-table td {
        padding: 8px 5px;
    }
}

@media (max-width: 576px) {
    .result-unit-value {
        font-size: 1.3rem;
    }

    .chart-container-ac {
        height: 200px;
    }

    .ac-recommendation {
        padding: 12px;
    }

    .tonnage-warning {
        padding: 12px;
    }
}
