
:root {
    --ee-bg: #FAFAFA;
    --ee-surface: #FFFFFF;
    --ee-text: #000000;
    --ee-text-muted: #5A5A5A;
    --ee-border: #707070;
    --ee-primary: #0457DB;
    --ee-primary-dark: #204BBA;
    --ee-link: var(--ee-primary);
    --ee-track: #D9D9D9;
    --ee-shadow: #00000029;
    --ee-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
    :root {
        --ee-primary-dark: color-mix(in srgb, var(--ee-primary) 82%, #000000);
    }
}

html, body {
    background-color: var(--ee-bg);
    font-family: var(--ee-font);
}

.ee-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--ee-track);
    z-index: 1300;
}

.ee-topbar-progress {
    width: 0;
    height: 100%;
    background-color: var(--ee-primary);
    transition: width 60ms linear;
}

@media (prefers-reduced-motion: reduce) {
    .ee-topbar-progress {
        transition: none;
    }
}

.ee-language-corner {
    position: fixed;
    top: 9px;
    right: 8px;
    z-index: 1300;
}

.ee-language-select input {
    font-size: 14px !important;
}

.ee-language-select .mud-input-adornment-icon {
    width: 20px !important;
    height: 20px !important;
}

.ee-main-content {
    max-width: min(100%, 480px);
    margin: 0 auto;
    padding: 0 20px 0px;
    box-sizing: border-box;
    padding-top: 3rem;
}

.ee-main-content--with-logo {
    padding-top: 10px;
}

@media (min-width: 768px) {
    .ee-main-content {
        max-width: 600px;
    }
}

.ee-brand {
    display: flex;
    align-items: center;
    height: 26px;
    margin: 5px 0 30px;
}

.ee-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 155px;
    max-height: 26px;
    object-fit: contain;
    object-position: left center;
}

.maintitle {
    margin: 0;
    font-size: 20px;
    line-height: 27px;
    font-weight: 600;
    color: var(--ee-text);
}

.maintitle:focus,
.maintitle:focus-visible {
    outline: none;
}

.maintitle-centered {
    text-align: center;
}

.mainsubtitle {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    color: var(--ee-text-muted);
}

.ee-section-header {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
    color: var(--ee-text);
}

.ee-section-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 10px;
}

.ee-section-header-row .ee-section-header {
    margin: 0;
}

.ee-section {
    margin-top: 30px;
}

.ee-section:first-child {
    margin-top: 0;
}

.ee-field {
    margin-top: 10px;
}

.ee-field:first-child {
    margin-top: 0;
}

.ee-checkbox {
    margin-left: -6px;
    padding-left: 0;
    --mud-palette-primary: var(--ee-primary);
    --mud-palette-primary-darken: var(--ee-primary-dark);
}

.ee-autocomplete-popover {
    --mud-palette-primary: var(--ee-primary);
    --mud-palette-primary-darken: var(--ee-primary-dark);
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
    .ee-checkbox,
    .ee-autocomplete-popover {
        --mud-palette-primary-hover: color-mix(in srgb, var(--ee-primary) 6%, transparent);
    }
}

.ee-checkbox .mud-icon-button {
    padding: 6px;
    padding-left: 0;
}

.ee-checkbox .mud-icon-button .mud-icon-root {
    width: 28px;
    height: 28px;
}

.ee-checkbox .mud-checkbox-input {
    width: 28px;
    height: 28px;
}

.ee-customs-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ee-customs-pair-wide {
    flex: 187 1 160px;
    min-width: 160px;
}

.ee-customs-pair-narrow {
    flex: 143 1 120px;
    min-width: 120px;
}

.ee-customs-intro {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--ee-text);
}

.ee-customs-item {
    margin-top: 10px;
}

.ee-customs-item-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 10px;
}

.ee-customs-item-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--ee-text);
}

.ee-customs-item-hint {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 24px;
    color: var(--ee-text-muted);
}

.ee-harmonized-field {
    position: relative;
}

.ee-harmonized-spinner {
    position: absolute;
    right: 12px;
    top: 16px;
}

.ee-customs-actions {
    margin-top: 20px;
}

.ee-customs-cap-message {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--ee-text-muted);
}

.ee-link {
    background: none;
    border: 0;
    font-family: inherit;
    padding: 10px 2px;
    margin: -10px -2px;
    font-size: 16px;
    line-height: 24px;
    color: var(--ee-link);
    text-decoration: underline;
    cursor: pointer;
}

.ee-link-disabled {
    color: var(--ee-text-muted);
    text-decoration: none;
    cursor: default;
}

.ee-primary-button-row {
    margin-top: 30px;
    margin-bottom: 40px;
}

.ee-primary-button-row-done {
    position: sticky;
    bottom: 0;
    z-index: 900;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
    background-color: var(--ee-surface);
    border-top: 1px solid var(--ee-border);
    box-shadow: 0 -6px 18px -12px var(--ee-shadow);
}

.ee-primary-button.mud-button-root {
    width: 100%;
    height: 54px;
    background-color: var(--ee-primary);
    color: var(--ee-surface);
    border: 1px solid var(--ee-primary-dark);
    border-radius: 5px;
    font-family: var(--ee-font);
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
}

.ee-primary-button.mud-button-root:disabled {
    border-color: transparent;
}

.mud-input-outlined .mud-input-outlined-border {
    border-radius: 4px;
}

.mud-input-outlined .mud-input-slot,
.mud-input-outlined input,
.mud-input-outlined .mud-select-input {
    height: 56px !important;
    box-sizing: border-box !important;
    font-family: var(--ee-font);
    font-size: 16px;
}

.mud-input-outlined .mud-input-label {
    font-family: var(--ee-font);
}

.mud-input-clear-button {
    padding: 10px;
    margin-right: -7px;
}

.ee-autocomplete-popover .mud-list-item {
    min-height: 52px;
    font-family: var(--ee-font);
    font-size: 16px;
}

.ee-validation-dialog.mud-dialog {
    width: 335px;
    max-width: calc(100vw - 40px);
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--ee-bg);
    border: 1px solid var(--ee-border);
    border-radius: 10px;
    box-shadow: 0 3px 6px var(--ee-shadow);
}

.ee-validation-dialog .mud-dialog-title,
.ee-validation-dialog .mud-dialog-content,
.ee-validation-dialog .mud-dialog-actions {
    padding: 0;
    margin: 0;
}

.ee-validation-title {
    font-size: 20px;
    line-height: 27px;
    font-weight: 600;
    color: var(--ee-text);
}

.ee-validation-address {
    margin-top: 30px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: var(--ee-text);
}

.ee-validation-message {
    margin-top: 30px;
    font-size: 18px;
    line-height: 24px;
    color: var(--ee-text);
}

.ee-validation-actions {
    display: flex;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    margin-top: 30px;
}

.ee-validation-dialog .mud-button-root {
    flex: 1 1 0;
    height: 48px;
    padding: 0 24px;
    border-radius: 5px;
    font-family: var(--ee-font);
    font-size: 20px;
    font-weight: 600;
    text-transform: none;
}

.ee-validation-accept.mud-button-root {
    background-color: var(--ee-primary);
    border: 1px solid var(--ee-primary-dark);
    color: var(--ee-surface);
}

.ee-validation-reject.mud-button-root {
    background-color: var(--ee-surface);
    border: 1px solid var(--ee-text);
    color: var(--ee-text);
}

.ee-qr-empty-alert.mud-alert-text-warning {
    background-color: #FFF4E5;
    color: #8A5A00;
}

.ee-qr-card {
    margin: 30px auto 0;
    max-width: fit-content;
    padding: 20px;
    background-color: var(--ee-surface);
    border: 1px solid var(--ee-border);
    border-radius: 10px;
    box-shadow: 0 3px 6px var(--ee-shadow);
}

.ee-qr-image {
    margin: 0 auto;
    max-width: 100%;
}

.ee-qr-image img {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.ee-qr-id {
    margin-top: 8px;
    text-align: center;
    font-size: 20px;
    line-height: 27px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    color: var(--ee-text);
    user-select: all;
    -webkit-user-select: all;
}

.ee-sticky-header {
    position: fixed;
    top: 5px;
    left: 0;
    width: 100%;
    z-index: 1200;
    padding: 10px 20px;
    background-color: var(--ee-bg);
    color: var(--ee-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ee-sticky-header--with-lang {
    padding-right: 120px;
}

@media (max-width: 400px) {
    .ee-sticky-header {
        font-size: 14px;
    }
}

.ee-sepomex-link {
    display: inline-block;
    margin: 2px 0 8px 2px;
    font-size: 0.8125rem;
}

.ee-suite-list {
    min-width: 260px;
}

.mud-button-root:focus-visible,
.mud-icon-button:focus-visible {
    outline: 2px solid var(--ee-primary);
    outline-offset: 2px;
}

.mud-input-outlined input:focus-visible,
.mud-input-outlined .mud-select-input:focus-visible {
    outline: 2px solid var(--ee-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.ee-language-select .mud-input-slot.mud-input-root:focus-visible {
    outline: 2px solid var(--ee-primary);
    outline-offset: 2px;
}

.ee-link:focus-visible,
.ee-sepomex-link:focus-visible {
    outline: 2px solid var(--ee-primary);
    outline-offset: 2px;
}
