.maynilad-calculator-container {
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}

.maynilad-calc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.maynilad-calc-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.maynilad-calc-card h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box; /* Critical for padding */
    background-color: #fff;
    color: #333;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #005b9f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,91,159,0.1);
}

.helper-text {
    font-size: 12px;
    color: #777;
    margin-top: -10px;
    margin-bottom: 20px;
    line-height: 1.4;
}

button#calculate-btn {
    width: 100%;
    padding: 12px;
    background-color: #0f4c81; /* Dark blue from screenshot */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button#calculate-btn:hover {
    background-color: #0a3d6b;
}

/* Results Table */
.bill-results-table {
    display: flex;
    flex-direction: column;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.bill-row span:last-child {
    font-weight: 600;
    color: #333;
}

.bill-row:first-child {
    padding-top: 0;
}

.bill-row.total {
    background-color: #0f4c81;
    color: white;
    margin-top: 10px;
    padding: 15px 20px;
    border-radius: 4px;
    border-bottom: none;
}

.bill-row.total span:last-child {
    color: white;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .maynilad-calc-grid {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group.half {
        width: 100%;
    }
}
