/**
 * Tithe Calculator Styles
 * Using specified color scheme:
 * - Call to actions: #000000 (black)
 * - Background: #ffffff (white)
 */

/* Container Styles */
.tithe-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.tithe-calculator-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* Form Styles */
.tithe-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.input-field {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.currency-symbol,
.percentage-symbol {
    padding: 10px;
    background-color: #f0f0f0;
    color: #555;
    font-weight: bold;
}

input[type="number"] {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 16px;
}

/* Button Styles */
.tithe-calculate-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    align-self: center;
    min-width: 180px;
}

.tithe-calculate-btn:hover {
    opacity: 0.9;
}

.tithe-calculate-btn:active {
    opacity: 0.8;
}

/* Results Styles */
.tithe-results {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #555;
}

.result-value {
    font-weight: bold;
    color: #333;
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .tithe-calculator-container {
        padding: 15px;
        width: 100%;
        box-shadow: none;
    }
    
    .tithe-calculator-container h2 {
        font-size: 20px;
    }
    
    .input-group label {
        font-size: 14px;
    }
    
    input[type="number"] {
        font-size: 14px;
    }
    
    .tithe-calculate-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 150px;
    }
} 