.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.input-section, .result-section {
    flex: 1;
    min-width: 300px;
}

.result-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    border-right: 0;
    border-radius: 4px 0 0 4px;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group input {
    flex: 1;
    width: 1%;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-addon {
    display: flex;
    align-items: center;
    padding: 0 15px;
    background-color: #e9ecef;
    border: 1px solid #ddd;
    border-left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #495057;
    white-space: nowrap;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.result-card {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-item.highlight {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

.result-item .label {
    color: #666;
}

.result-item .value {
    font-weight: 600;
}

.insurance-details {
    margin-top: 20px;
}

.insurance-details h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.detail-table th,
.detail-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.detail-table th {
    background-color: #f1f3f5;
    font-weight: 600;
}

@media (max-width: 768px) {
    .calculator-container {
        padding: 15px;
    }
    
    .input-section, .result-section {
        min-width: 100%;
    }
}
