:root {
    --primary: #2e3fb1;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

.calc-tool-container {
    max-width: 700px;
    margin: 0 auto;
}

.calc-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    max-width: 200px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.calc-checkboxes { display: flex; flex-direction: column; gap: 10px; }

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-main);
}

.calc-checkbox input { width: auto; }

.terms-list {
    overflow-x: auto;
}

.terms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.terms-table th,
.terms-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.terms-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.term-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.term-type-us { background: #dbeafe; color: #1e40af; }
.term-type-zus { background: #fef3c7; color: #92400e; }
.term-type-pfron { background: #d1fae5; color: #065f46; }

.calc-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.calc-form-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.praca-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.praca-links li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.praca-links li:last-child { border-bottom: none; }

.praca-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.praca-links a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .terms-table { font-size: 0.8rem; }
    .terms-table th, .terms-table td { padding: 8px 6px; }
}
