.vtf {
    margin: 0 auto 72px;
    max-width: 100%;
    padding: 24px 0;
    width: 100%;
}

.vtf-language {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 24px;
}

.vtf-language button,
.vtf-actions button {
    border: 1px solid #1f2937;
    cursor: pointer;
    font: inherit;
    min-height: 44px;
    padding: 10px 16px;
}

.vtf-language button {
    background: #ffffff;
    border-color: #1f2a82;
    color: #1f2937;
}

.vtf-language button.is-active {
    background: #1f2a82;
    border-color: #1f2a82;
    color: #ffffff;
}

.vtf-language button:hover,
.vtf-language button:focus-visible,
.vtf-language button.is-active:hover,
.vtf-language button.is-active:focus-visible {
    background: #1f2a82;
    border-color: #1f2a82;
    color: #ffffff;
}

.vtf-errors {
    border-left: 4px solid #b91c1c;
    background: #fef2f2;
    color: #7f1d1d;
    margin-bottom: 24px;
    padding: 12px 16px;
}

.vtf-section {
    border: 1px solid #d1d5db;
    margin: 0 0 24px;
    padding: 20px;
}

.vtf-section legend {
    font-weight: 700;
    padding: 0 8px;
}

.vtf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vtf-field,
.vtf-consents label {
    display: grid;
    gap: 6px;
}

.vtf-field input,
.vtf-field select {
    border: 1px solid #9ca3af;
    border-radius: 0;
    font: inherit;
    min-height: 44px;
    padding: 8px 10px;
    width: 100%;
}

.vtf-consents {
    display: grid;
    gap: 12px;
}

.vtf-consents label {
    grid-template-columns: 20px 1fr;
    align-items: start;
}

.vtf-consents label a {
    color: #EE7D11;
}

.vtf-actions {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.vtf-actions .vtf-submit {
    background: #1f2a82;
    border: 0;
    color: #ffffff;
}

.vtf-actions .vtf-reset {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #7f1d1d;
    color: #7f1d1d;
    min-height: auto;
    padding: 0 0 5px;
    text-decoration: none;
    border-radius: 0;
}

.vtf-submit:hover,
.vtf-submit:focus-visible {
    background: #ee7d11;
    border-color: #ee7d11;
}

.vtf-reset:hover,
.vtf-reset:focus-visible {
    color: #991b1b;
}

.vtf-result {
    background: #ffffff;
    /*border: 1px solid #d1d5db;*/
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
    margin-top: 32px;
    max-width: 1140px;
    padding: 24px 20px;
    width: 100%;
}

.vtf-result-header {
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    gap: 8px;
    padding-bottom: 8px;
}

.vtf-result-header h2,
.vtf-result-card h3 {
    margin: 0;
}

.vtf-result-kicker {
    color: #6b7280;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin: 0;
    text-transform: uppercase;
}

.vtf-result-summary {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.vtf-result-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: grid;
    gap: 16px;
    padding: 20px;
}

.vtf-result-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.vtf-result-list div {
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
}

.vtf-result-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.vtf-result-list dt {
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 600;
}

.vtf-result-list dd {
    margin: 0;
}

.vtf-result-paid .vtf-result-header h2 {
    color: #047857;
}

.vtf-result-failed .vtf-result-header h2,
.vtf-result-error .vtf-result-header h2,
.vtf-result-cancelled .vtf-result-header h2 {
    color: #b91c1c;
}

.vtf-result-pending .vtf-result-header h2 {
    color: #92400e;
}

@media (max-width: 720px) {
    .vtf {
        padding: 16px 0;
    }

    .vtf-grid,
    .vtf-result-summary {
        grid-template-columns: 1fr;
    }

    .vtf-actions {
        display: grid;
        gap: 12px;
    }
}
