/**
 * Hawaii Paycheck Calculator Styles
 * Isolated styles to prevent theme conflicts
 */

/* Container Styles */
.hawaii-paycheck-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 800px;
    margin: 2em auto;
    padding: 2em;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hawaii-paycheck-calculator-container h2 {
    color: #333;
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 24px;
}

/* Form Styles */
.hpc-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hpc-form-group {
    margin-bottom: 15px;
}

.hpc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.hpc-input,
.hpc-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.hpc-input:focus,
.hpc-select:focus {
    border-color: #666;
    outline: none;
}

.hpc-button {
    background-color: #000000; /* Black as per requirements */
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
}

.hpc-button:hover {
    background-color: #333333;
}

/* Results Styles */
.hpc-results {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.hpc-results h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

.hpc-result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hpc-result-item:last-child {
    border-bottom: none;
}

.hpc-result-total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hawaii-paycheck-calculator-container {
        padding: 1.5em;
        margin: 1em;
    }
    
    .hpc-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hawaii-paycheck-calculator-container {
        padding: 1em;
        margin: 0.5em;
    }
    
    .hpc-form-group {
        margin-bottom: 10px;
    }
    
    .hpc-button {
        padding: 10px 15px;
    }
} 