.tree-water-calculator {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tree-water-calc-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
}

.form-group select,
.form-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.tree-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    display: none;
}

.calculate-button {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.calculate-button:hover {
    background: #27ae60;
}

.calculate-button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.calculation-results {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.calculation-results h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.result-label {
    font-weight: 600;
    color: #2c3e50;
}

.result-value {
    font-size: 1.1rem;
    color: #27ae60;
}

.result-breakdown {
    margin-top: 1rem;
}

.result-breakdown h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.result-breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-breakdown li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.tooltip {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #3498db;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    cursor: help;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tree-water-calculator {
        margin: 1rem;
        padding: 1rem;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .result-value {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.calculation-results {
    animation: fadeIn 0.3s ease-in-out;
} 