/**
 * Water Deficit Calculator Styles
 * Using isolated styling to prevent conflicts with WordPress themes
 */

.wdc-calculator-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-sizing: border-box;
}

.wdc-calculator-container * {
    box-sizing: border-box;
}

.wdc-calculator-container h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.wdc-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wdc-input-group {
    display: flex;
    flex-direction: column;
}

.wdc-input-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.wdc-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.wdc-input:focus {
    border-color: #888;
    outline: none;
}

.wdc-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.wdc-button:hover {
    background-color: #333333;
}

.wdc-results {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.wdc-results h3 {
    margin-top: 0;
    color: #333;
}

#wdc-deficit-result {
    font-weight: 700;
    color: #000000;
}

.wdc-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .wdc-calculator-container {
        padding: 15px;
        margin: 15px auto;
    }
    
    .wdc-button {
        padding: 10px 15px;
    }
}

@media screen and (max-width: 480px) {
    .wdc-calculator-container {
        padding: 10px;
        margin: 10px auto;
    }
    
    .wdc-input-group label {
        font-size: 14px;
    }
    
    .wdc-input {
        padding: 8px;
        font-size: 14px;
    }
    
    .wdc-button {
        padding: 10px;
        font-size: 14px;
    }
} 