.calculator-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
}

.calc-header {
    text-align: center;
    margin-bottom: 50px;
}

.calc-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.calc-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

.calculator-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-selection {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-selection h3 {
    margin-bottom: 30px;
    color: var(--dark);
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.service-table th {
    background: var(--dark);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.service-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.service-row:hover {
    background: var(--light);
}

.service-select,
.option-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.service-select:focus,
.option-select:focus {
    outline: none;
    border-color: var(--primary);
}

.quantity-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary);
}

.price-cell {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    text-align: right;
}

.calculator-summary {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.calculator-summary h3 {
    margin-bottom: 30px;
    color: var(--dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1rem;
}

.discount-row {
    color: #28a745;
    display: none;
}

.discount-row.active {
    display: flex;
}

.summary-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    border-top: 2px solid var(--primary);
    border-bottom: none;
    padding-top: 20px;
    margin-top: 10px;
}

.summary-note {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.summary-actions .btn {
    width: 100%;
    text-align: center;
    padding: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }

    .calculator-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .service-selection,
    .calculator-summary {
        padding: 20px;
    }

    .calc-header h2 {
        font-size: 2rem;
    }

    .service-table {
        font-size: 0.85rem;
    }

    .service-table th,
    .service-table td {
        padding: 10px 5px;
    }

    .service-select,
    .option-select,
    .quantity-input {
        font-size: 0.85rem;
        padding: 8px;
    }
}