body {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: bold;
}

.tab.active {
    background-color: #007bff;
    color: white;
    border-bottom-color: #007bff;
}

.tab:hover {
    background-color: #0056b3;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="number"], select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: normal;
}

.calculate-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.calculate-btn:hover {
    background-color: #0056b3;
}

.results {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.result-item {
    margin-bottom: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.result-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.result-value {
    color: #007bff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}

.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

small {
    color: #666;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cost-highlight {
    background-color: #e8f4f8 !important;
    font-weight: bold;
}

ul {
    margin: 5px 0;
    padding-left: 20px;
}

li {
    margin: 3px 0;
}