/* AerFlo Carbon Footprint Calculator Styles */
.aerflo-calculator-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.aerflo-calculator-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

.calculator-input {
    margin-bottom: 30px;
}

.calculator-input label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #34495e;
    text-align: center;
}

.fan-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.fan-controls button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.fan-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
}

.fan-controls button:active {
    transform: translateY(0);
}

#fan-count {
    width: 100px;
    height: 50px;
    border: 3px solid #e1e8ed;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    background: white;
    color: #2c3e50;
    transition: all 0.3s ease;
    -moz-appearance: textfield;
}

#fan-count::-webkit-outer-spin-button,
#fan-count::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#fan-count:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.calculator-results {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 100%);
    border-radius: 12px;
    border-left: 5px solid #667eea;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item strong {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.4;
}

.emission-total,
.emission-yearly {
    font-size: 36px;
    font-weight: 800;
    color: #27ae60;
    margin: 5px 0;
}

.unit {
    font-size: 18px;
    color: #7f8c8d;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .aerflo-calculator-container {
        margin: 10px;
        padding: 20px 15px;
    }

    .aerflo-calculator-container h2 {
        font-size: 24px;
    }

    .fan-controls {
        gap: 10px;
    }

    .fan-controls button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    #fan-count {
        width: 80px;
        height: 45px;
        font-size: 20px;
    }

    .emission-total,
    .emission-yearly {
        font-size: 28px;
    }

    .result-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .fan-controls {
        flex-direction: column;
        gap: 10px;
    }

    #fan-count {
        width: 120px;
    }
}
