/* Kalkulator VAT — layout (no colors) */

.vat-wrap {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form */
.vat-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vat-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.vat-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.vat-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vat-input {
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    border: 1px solid;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.vat-currency {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.6;
    white-space: nowrap;
}

/* Radio groups */
.vat-rate-field,
.vat-direction-field {
    border: none;
    padding: 0;
    margin: 0;
}

.vat-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.15rem;
}

.vat-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Results */
.vat-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cards */
.vat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

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

.vat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 1rem 0.5rem;
    border-radius: 10px;
    border: 1px solid;
    text-align: center;
}

.vat-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.7;
}

.vat-card-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.vat-card-accent .vat-card-value {
    font-size: 2rem;
}

.vat-card-unit {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Summary */
.vat-summary {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

/* Error */
.vat-error {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}
