/* Disaster Water Calculator Styles */
/* Mundo Perfecto Brand Colors:
   Primary: #6EC1E4 (Bright Blue)
   Secondary: #54595F (Professional Gray)
   Text: #7A7A7A (Medium Gray)
   Accent: #61CE70 (Fresh Green)
*/

.dwc-calculator {
    max-width: 1280px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dwc-form {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dwc-form h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #54595F;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.dwc-description {
    color: #7A7A7A;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
}

.dwc-field {
    margin-bottom: 24px;
}

.dwc-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #54595F;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.dwc-field input[type="number"],
.dwc-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    color: #54595F;
    background: #ffffff;
}

.dwc-field input[type="number"]:focus,
.dwc-field select:focus {
    outline: none;
    border-color: #6EC1E4;
    box-shadow: 0 0 0 3px rgba(110, 193, 228, 0.1);
}

.dwc-button {
    background: #000000 !important;
    color: #ffffff !important;
    padding: 16px 32px !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
}

.dwc-button:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

.dwc-button:active {
    transform: scale(0.98) !important;
}

.dwc-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

.dwc-loading {
    text-align: center;
    padding: 20px;
    color: #7A7A7A;
    font-style: italic;
}

.dwc-results {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, #f8fcff 0%, #f0f9ff 100%);
    border-radius: 12px;
    border: 2px solid #e3f2fd;
    /* border-left: 6px solid #61CE70; */
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.dwc-results h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #54595F;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.dwc-result-summary {
    padding: 24px 28px;
    background: linear-gradient(135deg, #6EC1E4 0%, #5AB5D8 100%);
    color: white;
    border-radius: 10px;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(110, 193, 228, 0.25);
}

.dwc-result-summary strong {
    font-weight: 600;
}

.dwc-results-details {
    display: grid;
    gap: 16px;
}

.dwc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e3f2fd;
    transition: all 0.2s ease;
}

.dwc-result-item:hover {
    /* border-color: #6EC1E4; */
    transform: translateX(4px);
}

.dwc-result-label {
    font-weight: 600;
    color: #7A7A7A;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dwc-result-value {
    font-weight: 700;
    color: #54595F;
    font-size: 17px;
}

.dwc-note {
    margin-top: 24px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    /* border: 2px solid #61CE70; */
    border-radius: 8px;
    font-size: 13px;
    color: #54595F;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dwc-note strong {
    /* color: #61CE70; */
    font-weight: 700;
}

.dwc-error {
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    /* border: 2px solid #ef4444; */
    border-radius: 8px;
    /* color: #991b1b; */
    font-size: 14px;
    font-weight: 500;
}

/* Responsive design */
@media (max-width: 640px) {
    .dwc-calculator {
        margin: 10px;
    }
    
    .dwc-form {
        padding: 24px 20px;
        border-radius: 8px;
    }
    
    .dwc-form h3 {
        font-size: 24px;
    }
    
    .dwc-results {
        padding: 24px 20px;
    }
    
    .dwc-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .dwc-result-item:hover {
        transform: translateX(0);
    }
    
    .dwc-button {
        font-size: 15px;
        padding: 14px 24px;
    }
}