/* Site overrides on top of the Webflow export. */

.w-form-done a { text-decoration: underline; }
.form-block-3 .w-form-fail, .form-block-3 .w-form-done { width: 100%; margin-top: 12px; border-radius: 8px; }

/* Apply flow */
.ap-top { display: flex; justify-content: center; padding: 28px 16px 8px; }
.ap { max-width: 1120px; margin: 0 auto; padding: 24px 16px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; font-family: Matter, Arial, sans-serif; color: #111; }
.ap h1, .ap h2 { margin: 0 0 12px; }
.ap-sub { color: #666; margin: 0 0 24px; font-size: 16px; line-height: 1.5; }
.ap-note { background: #fff6e5; border: 1px solid #f3d9a4; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: #5b4a22; margin: 20px 0; }
.ap-error { background: #fdecec; border: 1px solid #f1b5b5; color: #8a1f1f; border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; font-size: 15px; }
.ap-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 28px; font-size: 13px; color: #888; }
.ap-steps li { flex: 1; border-top: 3px solid #e3e6ea; padding-top: 8px; }
.ap-steps li.on { border-color: #0a3c6e; color: #0a3c6e; font-weight: 600; }
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ap-grid .full { grid-column: 1 / -1; }
.ap label { display: block; font-size: 14px; font-weight: 500; }
.ap input:not([type=radio]):not([type=checkbox]):not([type=file]), .ap select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #d5d9df; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: #111; }
.ap input:focus, .ap select:focus { outline: 2px solid #0a3c6e; outline-offset: 1px; }
.ap small { display: block; color: #777; font-weight: 400; margin-top: 6px; font-size: 13px; }
.ap-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.ap-choice label, .ap-classes label { border: 1px solid #d5d9df; border-radius: 12px; padding: 14px 16px; cursor: pointer; font-weight: 400; }
.ap-classes { border: 0; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ap-classes legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.ap-file { border: 1px dashed #b9c0c9; border-radius: 12px; padding: 16px; }
.ap-file input { margin-top: 10px; max-width: 100%; font-size: 14px; }
.ap-sign { margin-top: 20px; }
.ap-sign-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.ap-sign canvas { width: 100%; height: auto; border: 1px solid #d5d9df; border-radius: 12px; background: #fff; touch-action: none; display: block; }
.ap-link { background: none; border: 0; color: #0a3c6e; text-decoration: underline; cursor: pointer; padding: 0; font: inherit; }
.ap-h3 { font-size: 16px; font-weight: 600; margin: 24px 0 10px; }
.ap-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ap-card { text-align: left; border: 1px solid #d5d9df; border-radius: 14px; background: #fff; padding: 14px 16px; cursor: pointer; font: inherit; color: #111; display: flex; flex-direction: column; gap: 4px; }
.ap-card.on { border-color: #0a3c6e; box-shadow: inset 0 0 0 1px #0a3c6e; background: #f2f7fc; }
.ap-card em { font-style: normal; font-weight: 600; color: #0a3c6e; font-size: 20px; }
.ap-card span { color: #666; font-size: 13px; line-height: 1.4; }
.ap-check { display: flex !important; gap: 10px; align-items: flex-start; margin: 20px 0; font-weight: 400 !important; line-height: 1.5; }
.ap-check input { margin-top: 4px; }
.ap-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.ap-btn { display: inline-block; background: #0a3c6e; color: #fff; border: 1px solid #0a3c6e; border-radius: 999px; padding: 13px 26px; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; text-decoration: none; }
.ap-btn.ghost { background: #fff; color: #111; border-color: #d5d9df; }
.ap-btn.gold { background: #f6b352; border-color: #f6b352; color: #111; }
.ap-btn:disabled { opacity: .6; cursor: default; }
.ap-review { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.ap-review dt { color: #777; } .ap-review dd { margin: 0; overflow-wrap: anywhere; }
.ap-side { border: 1px solid #e3e6ea; border-radius: 18px; padding: 20px; position: sticky; top: 20px; font-size: 15px; }
.ap-side-img { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.ap-total { border-bottom: 1px solid #e3e6ea; padding-bottom: 12px; margin-bottom: 12px; }
.ap-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ap-total-row.sum { font-size: 18px; border-top: 1px solid #e3e6ea; margin-top: 8px; padding-top: 10px; }
.ap-points { padding-left: 18px; margin: 0 0 16px; line-height: 1.9; }
.ap-help { margin: 0; color: #555; } .ap-help a { color: #0a3c6e; font-weight: 600; }
.ap-foot { text-align: center; color: #777; font-size: 13px; padding: 0 16px 40px; line-height: 2; font-family: Matter, Arial, sans-serif; }
.ap-foot a { color: #555; }
.ap-done { max-width: 620px; margin: 40px auto 80px; padding: 0 16px; text-align: center; font-family: Matter, Arial, sans-serif; }
.ap-order { font-size: 20px; font-weight: 600; margin: 16px 0 28px; }
.ap [hidden], .ap-done [hidden] { display: none !important; }
@media (max-width: 860px) {
  .ap { grid-template-columns: 1fr; gap: 24px; }
  .ap-side { position: static; }
  .ap-side-img { display: none; }
  .ap-grid, .ap-choice { grid-template-columns: 1fr; }
  .ap-review { grid-template-columns: 1fr; gap: 2px 0; } .ap-review dd { margin-bottom: 10px; }
  .ap-nav .ap-btn { flex: 1; text-align: center; padding: 13px 12px; }
}
.ap .h-30, .ap-done .h-30 { color: #111; font-weight: 500; line-height: 1.25; }
.ap a, .ap-done a:not(.ap-btn) { color: #0a3c6e; }

/* Admin */
.ad { max-width: 1160px; margin: 0 auto; padding: 20px 16px 80px; font-family: Matter, Arial, sans-serif; color: #111; font-size: 15px; }
.ad [hidden] { display: none !important; }
.ad-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.ad-head nav { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-head nav button, .ad-tabs button { border: 1px solid #d5d9df; background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; color: #111; }
.ad-head nav button.on, .ad-tabs button.on { background: #0a3c6e; border-color: #0a3c6e; color: #fff; }
.ad-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ad-tabs span { opacity: .7; margin-left: 4px; }
.ad h1 { font-size: 26px; margin: 0; font-weight: 600; } .ad h2 { font-size: 17px; margin: 0 0 14px; font-weight: 600; }
.ad-card { border: 1px solid #e3e6ea; border-radius: 16px; padding: 20px; background: #fff; margin-bottom: 16px; }
.ad-login { max-width: 380px; margin: 60px auto; display: grid; gap: 14px; }
.ad label { display: block; font-weight: 500; font-size: 14px; }
.ad input:not([type=checkbox]), .ad textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d5d9df; border-radius: 10px; font: inherit; }
.ad-search { max-width: 380px; margin-bottom: 14px !important; }
.ad-table-wrap { padding: 0; overflow-x: auto; }
.ad-table { width: 100%; border-collapse: collapse; }
.ad-table th, .ad-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #eef0f3; vertical-align: top; white-space: nowrap; }
.ad-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #777; }
.ad-table tbody tr[data-id] { cursor: pointer; } .ad-table tbody tr[data-id]:hover { background: #f6f8fb; }
.ad-table small { display: block; color: #777; }
.ad-empty, .ad-muted { color: #777; } .ad-empty { text-align: center !important; padding: 40px !important; }
.ad-pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 13px; background: #eef0f3; }
.ad-pill.s-paid { background: #fff0d1; color: #7a5200; } .ad-pill.s-approved, .ad-pill.s-shipped { background: #dcf3e3; color: #14592c; }
.ad-pill.s-rejected, .ad-pill.s-refunded { background: #fde2e2; color: #8a1f1f; }
.ad-title { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.ad-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; } .ad-actions .ap-btn { padding: 10px 18px; font-size: 15px; }
.ad-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ad-notes { margin: 16px 0 10px; }
.ad-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ad-files figure { margin: 0; } .ad-files figcaption { font-size: 13px; color: #777; margin-bottom: 6px; }
.ad-files img { width: 100%; max-height: 320px; object-fit: contain; border: 1px solid #e3e6ea; border-radius: 10px; background: #f6f8fb; }
.ad-missing { border: 1px dashed #b9c0c9; border-radius: 10px; padding: 40px 10px; text-align: center; color: #777; }
.ap-error.ok { background: #e6f6ec; border-color: #a9dcb9; color: #14592c; }
@media (max-width: 800px) { .ad-cols { grid-template-columns: 1fr; } }

/* Customer document */
.doc-wrap { max-width: 820px; margin: 0 auto; padding: 20px 16px 60px; font-family: Arial, Helvetica, sans-serif; color: #111; }
.doc-wrap[hidden], #doc-msg[hidden] { display: none; }
.doc-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: #555; }
.doc-page { background: #fff; border: 1px solid #cfd6de; border-radius: 10px; padding: 28px; margin-bottom: 20px; }
.doc-head { display: flex; gap: 16px; align-items: center; border-bottom: 3px solid #0a3c6e; padding-bottom: 14px; margin-bottom: 20px; }
.doc-head img { height: 56px; } .doc-head h1 { font-size: 24px; margin: 0; line-height: 1.2; color: #0a3c6e; } .doc-head p { margin: 4px 0 0; font-size: 13px; color: #555; }
.doc-main { display: grid; grid-template-columns: 150px 1fr 130px; gap: 20px; align-items: start; }
.doc-photo img { width: 150px; height: 190px; object-fit: cover; border: 1px solid #cfd6de; border-radius: 6px; background: #f1f3f6; }
.doc-fields { display: grid; grid-template-columns: 150px 1fr; gap: 7px 12px; margin: 0; font-size: 14px; }
.doc-fields dt { color: #666; } .doc-fields dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.doc-qr { text-align: center; } .doc-qr small { display: block; margin-top: 6px; font-size: 11px; color: #666; }
.doc-classes { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14px; }
.doc-classes th, .doc-classes td { border: 1px solid #cfd6de; padding: 7px 10px; text-align: left; } .doc-classes th { background: #f1f5fa; }
.doc-classes td:first-child, .doc-classes td:last-child { width: 70px; text-align: center; font-weight: 700; }
.doc-sign { display: flex; justify-content: flex-end; margin-top: 18px; } .doc-sign img { height: 70px; max-width: 240px; display: block; border-bottom: 1px solid #999; }
.doc-sign small, .doc-foot { font-size: 11px; color: #666; }
.doc-warn { margin: 18px 0 0; padding: 10px 12px; background: #fff6e5; border: 1px solid #f3d9a4; border-radius: 6px; font-size: 13px; text-align: center; }
.doc-h2 { font-size: 18px; margin: 0 0 14px; color: #0a3c6e; }
.doc-langs p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; } .doc-langs b { display: inline-block; min-width: 86px; color: #0a3c6e; margin-inline-end: 6px; }
.doc-foot { margin: 16px 0 0; border-top: 1px solid #cfd6de; padding-top: 10px; }
.doc-card { width: 85.6mm; height: 54mm; border: 1px solid #0a3c6e; border-radius: 3mm; display: flex; gap: 3mm; padding: 3mm; align-items: center; background: #fff; box-sizing: border-box; overflow: hidden; }
.doc-card-photo img { width: 20mm; height: 26mm; object-fit: cover; border-radius: 1mm; background: #f1f3f6; }
.doc-card-body { flex: 1; display: flex; flex-direction: column; gap: 1mm; font-size: 8pt; min-width: 0; } .doc-card-body b { color: #0a3c6e; font-size: 8.5pt; } .doc-card-body em { font-size: 6.5pt; color: #555; }
.doc-card canvas { width: 18mm !important; height: 18mm !important; }
@media (max-width: 640px) { .doc-main { grid-template-columns: 1fr; } .doc-qr { text-align: left; } .doc-page { padding: 18px; } .doc-fields { grid-template-columns: 120px 1fr; } }
@media print {
  .doc-bar { display: none; } .doc-wrap { max-width: none; padding: 0; } body { background: #fff; }
  .doc-page { border: 0; border-radius: 0; margin: 0; padding: 0; break-after: page; }
  .doc-main { grid-template-columns: 150px 1fr 130px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Written pages: guides, country pages, blog */
.pg { max-width: 820px; margin: 0 auto; padding: 130px 20px 70px; font-family: Matter, Arial, sans-serif; color: #1a1a1a; font-size: 18px; line-height: 1.65; }
.pg h1 { font-size: 40px; line-height: 1.15; font-weight: 500; margin: 10px 0 18px; color: #111; }
.pg h2 { font-size: 27px; line-height: 1.25; font-weight: 500; margin: 44px 0 12px; color: #111; }
.pg h3 { font-size: 20px; font-weight: 600; margin: 26px 0 8px; }
.pg p { margin: 0 0 16px; } .pg ul, .pg ol { margin: 0 0 18px; padding-left: 24px; } .pg li { margin-bottom: 8px; }
.pg a { color: #0a3c6e; text-decoration: underline; }
.pg-lead { font-size: 20px; color: #444; }
.pg-crumbs { font-size: 14px; color: #777; display: flex; gap: 8px; flex-wrap: wrap; } .pg-crumbs a { color: #555; }
.pg-facts { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; }
.pg-facts th, .pg-facts td { text-align: left; padding: 11px 14px; border: 1px solid #e3e6ea; vertical-align: top; } .pg-facts th { width: 38%; background: #f6f8fb; font-weight: 500; }
.pg-box { border: 1px solid #f3d9a4; background: #fff6e5; border-radius: 14px; padding: 16px 18px; margin: 18px 0 24px; font-size: 16px; }
.pg-box.ok { border-color: #a9dcb9; background: #eef9f1; }
.pg-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-radius: 18px; background: #0a3c6e; color: #fff; padding: 24px 26px; margin-top: 48px; }
.pg-cta div { flex: 1; min-width: 240px; } .pg-cta b { display: block; font-size: 21px; font-weight: 500; margin-bottom: 6px; } .pg-cta span { font-size: 15px; opacity: .88; line-height: 1.5; display: block; }
.pg-cta .ap-btn { text-decoration: none; color: #111; }
.pg-meta { font-size: 14px; color: #777; margin-top: 30px; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 0 !important; list-style: none; }
.pg-grid a { display: block; border: 1px solid #e3e6ea; border-radius: 12px; padding: 14px 16px; text-decoration: none; color: #111; } .pg-grid a:hover { border-color: #0a3c6e; }
.pg-grid small { display: block; color: #777; font-size: 13px; margin-top: 2px; }
.flag-text-flex a { color: inherit; text-decoration: underline; text-transform: capitalize; }
@media (max-width: 640px) { .pg { padding-top: 110px; font-size: 17px; } .pg h1 { font-size: 31px; } .pg h2 { font-size: 23px; } .pg-facts th { width: 44%; } }
