/* Zákaznické stránky používají společné komponenty z thankyou.css. */
body.ep-customer-page .page_content { max-width: none; margin: 0; }
body.ep-customer-page #content_navigator, body.ep-customer-page #sitefull { width: 100%; }
#ep-customer.ep-customer--lookup, #ep-customer.ep-customer--single { max-width: 760px; margin: 0 auto; }
#ep-customer .ep-customer-back { display: inline-block; margin-bottom: 16px; font-size: 14px; }
#ep-customer .ep-customer-nav { display: flex; gap: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--ep-border); }
#ep-customer .ep-customer-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--ep-muted); font-size: 16px; font-weight: 500; text-decoration: none; }
#ep-customer .ep-customer-nav a:hover, #ep-customer .ep-customer-nav a[aria-current="page"] { color: var(--ep-green); border-bottom-color: var(--ep-green); }
#ep-customer .ep-customer-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
#ep-customer .order-search { margin: 22px 0 0; }
#ep-customer .ep-customer-field { min-width: 0; }
#ep-customer .ep-customer-field label { display: block; margin-bottom: 7px; color: var(--ep-text); font-size: 16px; font-weight: 600; line-height: 1.4; }
#ep-customer .required { color: #b92d2d; }
#ep-customer .ep-customer-field input { display: block; width: 100%; min-height: 48px; margin: 0; padding: 14px 16px; border: 1px solid var(--ep-border); border-radius: 10px; background: var(--ep-white); color: var(--ep-text); box-shadow: none; font: inherit; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease; }
#ep-customer .ep-customer-field input:focus { border-color: var(--ep-green); box-shadow: 0 0 0 3px rgb(9 106 42 / 10%); outline: none; }
#ep-customer .ep-customer-error { margin-top: 18px; padding: 14px 16px; border: 1px solid #b92d2d; border-radius: 10px; background: var(--ep-white); color: var(--ep-text); }

@media (max-width: 1000px) {
  #ep-customer.ep-customer--tracking .ep-order-aside { order: -1; }
}

/* Stejná primární akce jako odkaz na nahrání podkladů na děkovné stránce. */
body.ep-customer-page #ep-customer button.ep-order-button:focus-visible { outline: 2px solid var(--ep-green); outline-offset: 4px; }
body.ep-customer-page #ep-customer button.ep-order-button:disabled { opacity: .6; cursor: default; }

#ep-customer .ep-customer-plates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
#ep-customer .ep-customer-plate { display: inline-block; max-width: 100%; padding: 7px 12px; border: 1px solid var(--ep-border); border-radius: 8px; background: var(--ep-white); color: var(--ep-text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 18px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
#ep-customer .ep-customer-status { margin-bottom: 18px; }
#ep-customer .ep-customer-documents-checked { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 14px 16px; border: 1px solid #b3d2ba; border-radius: 10px; background: #eef8f1; color: var(--ep-green); font-size: 14px; font-weight: 600; line-height: 1.5; }
#ep-customer .ep-customer-documents-checked svg { flex: 0 0 24px; }
#ep-customer .ep-customer-shipping-number { display: block; margin-top: 8px; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
#ep-customer .ep-customer-shipping-number a, #ep-customer .ep-customer-carrier-link { color: var(--ep-green); text-decoration: underline; text-underline-offset: 3px; }
#ep-customer .ep-customer-carrier-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 500; }
#ep-customer .ep-customer-shipping-number a:focus-visible, #ep-customer .ep-customer-carrier-link:focus-visible { outline: 2px solid var(--ep-green); outline-offset: 4px; }
#ep-customer .ep-customer-timeline { display: grid; margin: 0; padding: 0; list-style: none; }
#ep-customer .ep-customer-timeline li { position: relative; min-width: 0; margin: 0; padding: 0 0 24px 30px; list-style: none; }
#ep-customer .ep-customer-timeline li:last-child { padding-bottom: 0; }
#ep-customer .ep-customer-timeline li::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: -10px; width: 1px; background: var(--ep-border); }
#ep-customer .ep-customer-timeline li:last-child::before { content: none; }
#ep-customer .ep-customer-timeline li::after { content: ""; position: absolute; top: 6px; left: 0; width: 13px; height: 13px; border: 2px solid var(--ep-border); border-radius: 50%; background: var(--ep-white); }
#ep-customer .ep-customer-timeline .is-current::after { border-color: var(--ep-green); background: var(--ep-green); }
#ep-customer .ep-customer-timeline strong { display: block; font-size: 16px; line-height: 1.5; }
#ep-customer .ep-customer-timeline time { display: block; margin-top: 3px; color: var(--ep-muted); font-size: 14px; }
#ep-customer .ep-customer-documents ul { display: grid; gap: 8px; margin: 12px 0 16px; padding-left: 20px; list-style: disc; }
#ep-customer .ep-customer-documents li { margin: 0; padding: 0 0 0 2px; line-height: 1.6; }
#ep-customer .ep-customer-examples { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ep-border); }
#ep-customer .ep-customer-examples h3 { margin: 0; color: var(--ep-text); font-size: 16px; font-weight: 600; line-height: 1.5; }
#ep-customer .ep-customer-example-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 16px; margin-top: 18px; }
#ep-customer .ep-customer-example-grid a { display: block; }
#ep-customer .ep-customer-example-grid figure { min-width: 0; margin: 0; }
#ep-customer .ep-customer-example-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--ep-border); border-radius: 6px; }
#ep-customer .ep-customer-example-grid a + a img { margin-top: 10px; }
#ep-customer .ep-customer-example-grid figcaption { margin-top: 8px; color: var(--ep-muted); font-size: 14px; line-height: 1.5; }

/* Přepisujeme jen vzhled Forminatoru, nikoliv jeho validaci či obsluhu souborů. */
#ep-customer .ep-customer-upload-form { min-width: 0; margin-top: 22px; }
#ep-customer .forminator-ui.forminator-custom-form { margin: 0 !important; padding: 0 !important; }
#ep-customer .forminator-ui .forminator-row { margin-bottom: 18px !important; }
#ep-customer .forminator-ui .forminator-label { margin-bottom: 7px !important; color: var(--ep-text) !important; font-family: inherit !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.4 !important; }
#ep-customer .forminator-ui :is(input.forminator-input,textarea.forminator-textarea,select.forminator-select) { width: 100% !important; max-width: 100% !important; min-width: 0 !important; min-height: 48px !important; margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--ep-border) !important; border-radius: 10px !important; background: var(--ep-white) !important; color: var(--ep-text) !important; box-shadow: none !important; font-family: inherit !important; font-size: 16px !important; line-height: 1.4 !important; }
#ep-customer .forminator-ui :is(input.forminator-input,textarea.forminator-textarea,select.forminator-select):focus { border-color: var(--ep-green) !important; box-shadow: 0 0 0 3px rgb(9 106 42 / 10%) !important; }
#ep-customer .forminator-ui .forminator-has_error :is(input.forminator-input,textarea.forminator-textarea,select.forminator-select) { border-color: #b92d2d !important; }
#ep-customer .forminator-ui :is(.forminator-description,.forminator-error-message,.forminator-checkbox__label,.forminator-radio-label) { font-family: inherit !important; font-size: 14px !important; line-height: 1.6 !important; overflow-wrap: anywhere; }
#ep-customer .forminator-ui .forminator-description { color: var(--ep-muted) !important; }
#ep-customer .forminator-ui .forminator-required { color: #b92d2d !important; }
#ep-customer .forminator-ui .forminator-multi-upload { border: 1px dashed var(--ep-border) !important; border-radius: 10px !important; background: var(--ep-white) !important; color: var(--ep-text) !important; }
#ep-customer .forminator-ui .forminator-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px !important; padding: 11px 16px !important; border: 1px solid var(--ep-border) !important; border-radius: 10px !important; background: var(--ep-white) !important; color: var(--ep-green) !important; box-shadow: none !important; font-family: inherit !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.4 !important; text-transform: none !important; }
#ep-customer .forminator-ui .forminator-multi-upload .forminator-button { margin-top: 12px; }
#ep-customer .forminator-ui .forminator-button-submit { min-height: 50px !important; padding: 13px 22px !important; border-color: var(--ep-green) !important; background: var(--ep-green) !important; color: var(--ep-white) !important; }
#ep-customer .forminator-ui .forminator-button:hover { border-color: var(--ep-green) !important; }
#ep-customer .forminator-ui .forminator-button-submit:hover { border-color: var(--ep-green-dark) !important; background: var(--ep-green-dark) !important; }
#ep-customer .forminator-ui .forminator-button:focus-visible { outline: 2px solid var(--ep-green) !important; outline-offset: 4px; }
#ep-customer .forminator-ui .forminator-response-message { padding: 14px 16px !important; border-radius: 10px !important; font-family: inherit !important; font-size: 16px !important; line-height: 1.6 !important; }

/* Starší odkaz pro jednotlivé vozidlo používá FilePond. */
#ep-customer .ep-customer-single-upload .upload-header { display: inline-flex; align-items: center; max-width: 100%; margin-bottom: 18px; border: 1px solid var(--ep-border); border-radius: 8px; background: var(--ep-white); overflow: hidden; }
#ep-customer .ep-customer-single-upload .upload-header svg { width: 20px; height: 44px; }
#ep-customer .ep-customer-single-upload .upload-header span { padding: 7px 12px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 18px; font-weight: 600; }
#ep-customer .ep-customer-single-upload form { margin-top: 22px; }
#ep-customer .ep-customer-single-upload .filepond--root { font: inherit; }

body.ep-customer-embedded .header > .container, body.ep-customer-embedded .ep-mobile-header, body.ep-customer-embedded .footerarea { display: none; }
@media (max-width: 640px) {
  #ep-customer .ep-customer-nav { gap: 20px; margin-bottom: 20px; }
  #ep-customer .ep-customer-nav a { font-size: 14px; padding-bottom: 10px; }
  #ep-customer .ep-customer-fields { grid-template-columns: minmax(0,1fr); gap: 14px; }
  #ep-customer .ep-customer-field label { margin-bottom: 5px; }
  #ep-customer .ep-customer-field input { min-height: 44px; padding: 10px 12px; }
  #ep-customer .order-search, #ep-customer .ep-customer-upload-form { margin-top: 18px; }
  #ep-customer .forminator-ui .forminator-button-submit { width: 100% !important; min-height: 48px !important; }
  #ep-customer .forminator-ui :is(input.forminator-input,textarea.forminator-textarea,select.forminator-select) { min-height: 44px !important; padding: 10px 12px !important; }
  #ep-customer .ep-customer-example-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  #ep-customer .ep-customer-example-grid figure { max-width: 260px; }
}

