/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

/* ===== FONTS ===== */
@font-face {
  font-family: 'EuclidWU';
  src: url('../fonts/PPRightGrotesk-WideMedium.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'EuclidWUMedium';
  src: url('../fonts/PPRightGrotesk-WideMedium.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'PPRightMedium';
  src: url('../fonts/PPRightGrotesk-WideMedium.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'PPRightWideBlack';
  src: url('../fonts/PPRightGrotesk-WideBlack.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'PPRightSpatialBlack';
  src: url('../fonts/PPRightGrotesk-SpatialBlack.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'PPEiko';
  src: url('../fonts/PPEiko-BlackItalic.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'RobotoRegular';
  src: url('../fonts/Roboto-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'RobotoMedium';
  src: url('../fonts/Roboto-Medium.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'RobotoBold';
  src: url('../fonts/Roboto-Bold.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'BrushScript';
  src: url('../fonts/BrushScript.ttf') format('truetype');
  font-display: swap;
}

html body, body {
  font-family: 'EuclidWU', sans-serif;
}

/* ===== HEADER ===== */
.header-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

#wuheader {
  background: #000;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  height: 54px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-btn span {
  background-color: var(--color-actionBgPrimary, #ffdd00);
  display: block;
  width: 100%;
  height: 3px;
  position: absolute;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-btn span:nth-child(3) { bottom: 0; }

/* ===== FOOTER ===== */
.wu-footer {
  background: #000;
  width: 100%;
  box-sizing: border-box;
}

.wu-footer-inner {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}

.wu-footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.wu-footer-links ul,
.wu-footer-quick ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wu-footer-links ul li {
  color: #ffdd00;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'EuclidWU', sans-serif;
}

.wu-social {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}

.wu-footer-quick {
  margin: 16px 0;
}

.wu-footer-quick ul {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.wu-footer-quick ul li {
  color: #adbfe8;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  font-family: 'EuclidWU', sans-serif;
}

.wu-divider {
  width: 100%;
  height: 1px;
  background: #333;
  margin: 4px 0;
}

.wu-copyright {
  color: #adbfe8;
  font-size: 13px;
  margin: 16px 0 24px;
  line-height: 1.4;
  font-family: 'EuclidWU', sans-serif;
}

.wu-footer-logo {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wu-footer-logo img {
  height: 65px;
  width: auto;
}

/* ===== TAT (Seguimiento) ===== */
.tat-wrapper {
  background: #f0f0ec;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.tat-container {
  background: #fff;
  width: 100%;
  max-width: 480px;
  padding: 24px 20px;
  box-sizing: border-box;
}

.tat-title {
  font-family: 'EuclidWUMedium', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 24px;
  color: #000;
  font-size: 2rem;
        line-height: 3rem;
    
}
h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.tat-tabs {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.tat-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 14px;
  font-family: 'EuclidWU', sans-serif;
  color: #0859A6;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tat-tab--active {
  color: #000000;
  border-bottom: 2px solid #000;
  font-weight: 500;
}

.tat-desc {
  font-family: 'EuclidWU', sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0 0 20px;
  line-height: 1.5;
}

.tat-link {
  color: #0859A6;
  text-decoration: underline;
  cursor: pointer;
}

.tat-mtcn-section {
  text-align: center;
  margin-bottom: 24px;
}

.tat-mtcn-label {
  font-family: 'EuclidWU', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 16px;
          font-size: 1rem;
        line-height: 1.5rem;

}

.tat-mtcn-inputs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.tat-digit {
  font-family: 'EuclidWU', sans-serif;
  width: 28px;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  border: none;
  border-bottom: 1.5px solid #999;
  outline: none;
  padding: 0 0 4px;
  color: #000;
  background: transparent;
  -moz-appearance: textfield;
}

.tat-digit::-webkit-outer-spin-button,
.tat-digit::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.tat-sep {
  font-size: 22px;
  padding-bottom: 4px;
  color: #000;
}

.tat-field {
  position: relative;
  margin-bottom: 32px;
}

.tat-field input {
  font-family: 'EuclidWU', sans-serif;
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #999;
  outline: none;
  font-size: 16px;
  padding: 16px 0 6px;
  background: transparent;
  box-sizing: border-box;
  color: #000;
}

.tat-field label {
  font-family: 'EuclidWU', sans-serif;
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 16px;
  color: #666;
  transition: all 0.2s;
  pointer-events: none;
}

.tat-field input:focus ~ label,
.tat-field input:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 12px;
  color: #333;
}

.tat-btn {
  font-family: 'PPRightMedium', sans-serif;
  width: 100%;
  padding: 16px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  border: none;
  display: block;
  box-sizing: border-box;
}

.tat-btn--primary {
  background: #ffdd00;
    font-family: PPRightMedium;
    font-weight: normal;
    text-align: center;
    transition: all 150ms ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.33px;
    border-style: none;
    border-radius: 30px;
    width: 100%;
    border-color: var(--color-black);
}

.tat-btn--secondary {
  background: #fff;
font-family: PPRightMedium;
    font-weight: normal;
    text-align: center;
    transition: all 150ms ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.33px;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 30px;
    width: 100%;
    border-color: var(--color-black);
}
/* RADIO */
.tat-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.tat-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.tat-radio input[type="radio"]:checked {
  border-color: #2C4E9D;
}

.tat-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #2C4E9D;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tat-radio label {
  font-family: 'EuclidWU', sans-serif;
  font-size: 15px;
  color: #000;
  cursor: pointer;
}

/* SELECT FIELD */
.tat-select-field {
  border-bottom: 1.5px solid #ccc;
  padding: 12px 0 10px;
  margin-bottom: 8px;
  cursor: pointer;
}

.tat-select-label {
  display: block;
  font-family: 'EuclidWU', sans-serif;
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
}

.tat-select-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tat-flag {
  font-size: 20px;
}

.tat-select-value {
  font-family: 'EuclidWU', sans-serif;
  font-size: 15px;
  color: #000;
  flex: 1;
}

.tat-select-icon {
  font-size: 18px;
  color: #000;
}

/* AMOUNT */
.tat-amount-field {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #ccc;
  padding: 10px 0;
  margin-bottom: 8px;
}

.tat-amount-field input {
  font-family: 'EuclidWU', sans-serif;
  flex: 1;
  border: none;
  outline: none;
  font-size: 20px;
  color: #000;
  background: transparent;
}

.tat-currency {
  font-family: 'EuclidWU', sans-serif;
  font-size: 14px;
  color: #333;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 4px;
}

/* NOMTCn wrapper */
.tat-nomtcn {
  width: 100%;
}
.tat-select-icon svg {
  width: 20px;
  height: 20px;
  color: #000;
}
.tat-select-icon svg path {
  fill: #2C4E9D !important;
}
.tat-nomtcn {
  position: relative;
}

.country-dropdown {
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  max-height: 320px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  left: 0;
  top: auto;
}

.country-search-box {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  gap: 8px;
}

.country-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'EuclidWU', sans-serif;
  font-size: 15px;
  color: #000;
}

.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  max-height: 260px;
}

.country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-family: 'EuclidWU', sans-serif;
  font-size: 15px;
  color: #000;
}

.country-list li:hover {
  background: #f5f5f5;
}

.country-list li.selected {
  background: #f0f5ff;
  font-weight: 600;
}

.country-check {
  margin-left: auto;
  color: #4CAF50;
  font-size: 18px;
}

.country-flag-img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.country-loading {
  padding: 20px;
  text-align: center;
  color: #888;
  font-family: 'EuclidWU', sans-serif;
}
.selected-name {
  font-weight: 700;
}

.country-check {
  margin-left: auto;
  color: #4CAF50;
  font-size: 18px;
}
.tat-country-input {
  border: none;
  outline: none;
  font-family: 'EuclidWU', sans-serif;
  font-size: 15px;
  color: #000;
  background: transparent;
  flex: 1;
  cursor: pointer;
  width: 100%;
}
.tat-result-mtcn {
  font-family: 'EuclidWUMedium', sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 8px 0 24px;
  color: #000;
}

.tat-progress {
  display: flex;
  flex-direction: column;
}

.tat-progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tat-step-icon {
  width: 24px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.tat-step-label {
  font-family: 'EuclidWU', sans-serif;
  font-size: 15px;
  color: #000;
}

.tat-step-label--active {
  font-size: 22px;
  font-weight: 300;
}

.tat-step-label--pending {
  color: #aaa;
}

.tat-progress-line {
  width: 2px;
  min-height: 32px;
  margin-left: 11px;
}

.tat-progress-line.done { background: #00857c; }
.tat-progress-line.active { background: #00857c; }
.tat-progress-line.pending { background: #ccc; }

.tat-progress-line-detail {
  display: flex;
  margin-left: 11px;
  border-left: 2px solid #ccc;
  padding-left: 20px;
  padding-bottom: 12px;
}

.tat-step-detail {
  font-family: 'EuclidWU', sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.tat-step-circle-active {
  width: 32px;
  height: 32px;
  border: 2px solid #00857c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tat-step-circle-inner {
  width: 18px;
  height: 18px;
  background: #00857c;
  border-radius: 50%;
}

.tat-step-circle-pending {
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: block;
}


.tat-field input:invalid,
.tat-field input.error {
  border-bottom-color: #e00 !important;
}

.tat-digit.error {
  border-bottom-color: #e00 !important;
}
.tat-field-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
  font-family: 'EuclidWU', sans-serif;
}

.tat-field input.input-error,
.tat-country-input.input-error,
.tat-digit.input-error,
#tatAmount.input-error {
  border-bottom-color: #c0392b !important;
  border-bottom-width: 2px !important;
  color: #c0392b;
}

.tat-field label.label-error {
  color: #c0392b;
}
.tat-digit.input-error {
  border-bottom-color: #c0392b !important;
  color: #c0392b;
}
@keyframes wu-scale {
  0%, 40%, 100% { transform: scaleY(0.4); }
  20% { transform: scaleY(1); }
}

#wu-loader {
  display: none;
}
#wu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  background-color: rgb(0 0 0 / 55%);
  align-items: center;
  justify-content: center;
}