/**
 * Time and a Half Calculator Styles
 * These styles are isolated to prevent conflicts with WordPress themes
 */

 .tahc-calculator-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.tahc-calculator {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 20px 0;
}

.tahc-title {
    font-size: 22px;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.tahc-input-group {
    margin-bottom: 16px;
}

.tahc-input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.tahc-input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.tahc-input-group input:focus {
    border-color: #999;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.tahc-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin: 10px 0 20px;
    transition: background-color 0.2s ease;
}

.tahc-button:hover {
    background-color: #333333;
}

.tahc-results {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
}

.tahc-result-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.tahc-result-label {
    font-weight: 500;
    color: #555;
}

.tahc-result-value {
    font-weight: 600;
    color: #333;
}

.tahc-total {
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 12px;
}

.tahc-total .tahc-result-label,
.tahc-total .tahc-result-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .tahc-calculator {
        padding: 15px;
    }
    
    .tahc-title {
        font-size: 20px;
    }
    
    .tahc-input-group input,
    .tahc-button {
        padding: 10px;
    }
}