/* ==========================================================
   CALCULATOR PRO — MAIN WRAPPER
========================================================== */

.calculator-container {
    padding: 15px;
    margin-bottom: 40px;
}

/* ==========================================================
   CATEGORY BUTTONS
========================================================== */

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.category-btn {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    color: #333;
    transition: 0.2s;
}

.category-btn:hover {
    background: #0066ff;
    color: #fff;
}

.category-btn.active {
    background: #0066ff;
    color: #fff;
    border-color: #004fcc;
}

/* ==========================================================
   SERVICE ITEM STYLES
========================================================== */

.service-item {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
}

.service-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 6px;
}

.service-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

/* ==========================================================
   INPUT FIELDS
========================================================== */

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-row input,
.input-row select {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
}

/* ==========================================================
   TOTALS SECTION
========================================================== */

.totals-card {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

.totals-card h2 {
    margin: 0 0 12px 0;
    color: #0066ff;
}

.total-line {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 8px;
}

.total-line strong {
    color: #333;
}

/* ==========================================================
   CALCULATE BUTTON
========================================================== */

.calculate-btn {
    background: #ff9800;
    border: none;
    width: 100%;
    padding: 15px;
    font-size: 17px;
    color: #fff;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: bold;
}

.calculate-btn:hover {
    background: #e08600;
}