* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #1f2937;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.header {
    background: #111827;
    color: white;
    padding: 35px 0;
}

.header h1 {
    margin: 0 0 10px;
    font-size: 32px;
}

.header p {
    margin: 0;
    color: #d1d5db;
}

.tabs {
    display: flex;
    gap: 8px;
    margin: 25px 0;
}

.tab {
    border: none;
    background: #e5e7eb;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.tab.active {
    background: #111827;
    color: white;
}

.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.input-panel,
.results-panel {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

h2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
    font-size: 14px;
}

input,
select {
    width: 100%;
    padding: 11px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
}

.input-help {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px;
    margin-bottom: 12px;
    background: #f3f4f6;
    border-radius: 7px;
}

.result-card span {
    font-size: 14px;
}

.result-card strong {
    font-size: 20px;
}

.result-card.highlight {
    background: #e5e7eb;
}

.breakdown {
    margin-top: 25px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.breakdown h3 {
    margin-top: 0;
}

.breakdown div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.info-section {
    background: white;
    margin-top: 25px;
    padding: 25px;
    border-radius: 10px;
}

.actions {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.actions button {
    padding: 11px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#resetButton {
    background: #e5e7eb;
}

#copyButton {
    background: #111827;
    color: white;
}

.disclaimer {
    font-size: 12px;
    color: #6b7280;
    margin: 25px 0;
}

footer {
    margin-top: 40px;
    padding: 25px 0;
    background: #111827;
    color: #d1d5db;
}

@media (max-width: 768px) {

    .calculator {
        grid-template-columns: 1fr;
    }

    .tabs {
        overflow-x: auto;
    }

    .header h1 {
        font-size: 26px;
    }
}
.hidden {
    display: none;
}