/**
 * Window Replacement Cost Calculator Styles
 * Using specified color scheme:
 * - Call to actions: #000000 (black)
 * - Background: #ffffff (white)
 */

/* Reset and base styles */
.wrcc-calculator-container * {
    box-sizing: border-box;
}

.wrcc-calculator-container {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}

.wrcc-calculator {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.wrcc-calculator h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    text-align: center;
}

/* Form elements */
.wrcc-form-group {
    margin-bottom: 15px;
}

.wrcc-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.wrcc-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.wrcc-input:focus {
    border-color: #000000;
    outline: none;
}

/* Button styles */
.wrcc-button {
    display: block;
    width: 100%;
    padding: 14px;
    margin: 20px 0;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.wrcc-button:hover {
    background-color: #333333;
}

.wrcc-button:active {
    transform: scale(0.98);
}

/* Results area */
.wrcc-results {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
    display: none; /* Hidden initially, shown by JS after calculation */
}

.wrcc-result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.wrcc-result-row:last-of-type {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-weight: 700;
    font-size: 18px;
}

.wrcc-disclaimer {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 767px) {
    .wrcc-calculator {
        padding: 15px;
    }
    
    .wrcc-calculator h2 {
        font-size: 20px;
    }
    
    .wrcc-input {
        padding: 10px;
    }
    
    .wrcc-button {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .wrcc-calculator-container {
        max-width: 100%;
        padding: 0 10px;
    }
} 