.watering-calculator {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.watering-calculator h3 {
    text-align: center;
    color: #2c5530;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: bold;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-form label {
    font-weight: bold;
    color: #2c5530;
    font-size: 16px;
    margin-bottom: 5px;
}

.plant-dropdown {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.plant-dropdown:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.get-schedule-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.get-schedule-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.get-schedule-button:active {
    transform: translateY(0);
}

.schedule-result {
    padding: 20px;
    background-color: #e8f5e8;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    color: #2c5530;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
    display: none;
    margin-top: 10px;
    text-align: center;
}

.schedule-result:empty {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .watering-calculator {
        margin: 10px;
        padding: 20px;
    }
    
    .watering-calculator h3 {
        font-size: 20px;
    }
    
    .plant-dropdown,
    .get-schedule-button {
        font-size: 14px;
    }
    
    .schedule-result {
        font-size: 14px;
        padding: 15px;
    }
}

/* Loading state */
.get-schedule-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Additional styling for better UX */
.plant-dropdown option {
    padding: 10px;
}

.watering-calculator::before {
    content: "🌱";
    display: block;
    text-align: center;
    font-size: 48px;
    margin-bottom: 10px;
}

/* Hover effects for better interactivity */
.watering-calculator:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Success animation for result */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-result.show {
    display: block !important;
    animation: fadeInUp 0.5s ease;
}