* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo {
    max-width: 200px;
    margin-bottom: 40px;
}
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
    color: #2d3748;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1400px;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #2563eb;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 10px;
}

.content {
    margin-bottom: 2rem;
    color: #444;
    font-size: 1rem;
    text-align: center;
}

.calculator-container {
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a202c;
}

.calculator-content {
    display: flex;
    gap: 1.5rem;
}

.calculator-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-section {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.input-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.input-group input[type="number"],
.input-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.input-group input[type="number"]:focus,
.input-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

.input-group span {
    font-size: 0.85rem;
    color: #4a5568;
    margin-left: 0.5rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #4a5568;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #3b82f6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.calculate-btn {
    background-color: #3b82f6;
    color: #ffffff;
}

.calculate-btn:hover {
    background-color: #2563eb;
}

.report-btn {
    background-color: #10b981;
    color: #ffffff;
}

.report-btn:hover {
    background-color: #059669;
}

.results-section {
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: none;
}

.results-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.results-section p,
.results-section ul li {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.results-section ul {
    list-style: none;
    padding: 0;
}

.chart-container {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.chart-container h4 {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

@media (max-width: 768px) {
    .calculator-content {
        flex-direction: column;
    }

    .calculator-left,
    .calculator-right {
        width: 100%;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .calculator-header h2 {
        font-size: 1.5rem;
    }

    .back-button {
        margin: 0 auto 1rem;
        display: block;
        width: fit-content;
    }
}