/* NaTIS — Motor vehicle licence invoice / quote */

.inv-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 16px 36px;
}

.inv-title {
    text-align: center;
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
}

.inv-sub {
    text-align: center;
    margin: 0 0 22px;
    color: #555;
    font-size: 13px;
}

.inv-doc {
    background: #fff;
    border: 1px solid #cfd8e3;
    padding: 0;
}

.inv-doc-head {
    background: #4175a5;
    color: #fff;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.inv-doc-head strong { font-size: 15px; }
.inv-doc-head span { font-size: 12px; opacity: 0.95; }

.inv-doc-body { padding: 22px; }

.inv-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-bottom: 20px;
    font-size: 13px;
}

.inv-meta dt { color: #666; font-weight: 600; margin: 0 0 2px; }
.inv-meta dd { margin: 0 0 8px; color: #111; }

.inv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 18px;
}

.inv-table th,
.inv-table td {
    border: 1px solid #d8dee8;
    padding: 10px 12px;
    text-align: left;
}

.inv-table th {
    background: #f3f6fa;
    font-weight: 700;
    color: #1a365d;
    font-size: 11px;
    text-transform: uppercase;
}

.inv-table .inv-right { text-align: right; }

.inv-table tfoot td {
    font-weight: 700;
    background: #f9fafb;
}

.inv-total-row td {
    font-size: 15px;
    color: #1a365d;
}

.inv-note {
    font-size: 12px;
    color: #555;
    line-height: 1.55;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: #f7fafc;
    border-left: 4px solid #6ba336;
}

.inv-contact {
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    margin-top: 8px;
}

.inv-contact h3 {
    margin: 0 0 12px;
    font-size: 13px;
    color: #1a365d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.inv-field { margin-bottom: 12px; }

.inv-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #b91c1c;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.inv-input {
    width: 100%;
    height: 38px;
    border: 1px solid #b8c0cc;
    padding: 8px 10px;
    font-size: 14px;
}

.inv-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #444;
    margin: 14px 0 18px;
}

.inv-check input { margin-top: 3px; }

.inv-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.inv-btn-pay {
    flex: 1;
    min-width: 200px;
    height: 44px;
    border: none;
    border-radius: 3px;
    background: #6cc48a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.inv-btn-pay:hover:not(:disabled) { background: #5ab578; }
.inv-btn-pay:disabled { opacity: 0.5; cursor: not-allowed; }

.inv-btn-back {
    height: 44px;
    padding: 0 20px;
    border: 1px solid #cbd5e0;
    background: #fff;
    color: #555;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 560px) {
    .inv-meta { grid-template-columns: 1fr; }
    .inv-table { font-size: 12px; }
    .inv-table th, .inv-table td { padding: 8px; }
}
