<!-- start Simple Custom CSS and JS -->
<style type="text/css">
============================================================
   14099.css — Maquila Micrositio (Taller Óptico)
   Estilos consolidados de los templates del flujo Maquila:
     - Maquila - Landing
     - Maquila - login
     - Maquila - Registro Paso 2
   ============================================================ */


/* ── Global: ocultar chrome de understrap ── */
#wrapper-navbar,
#wrapper-footer,
.site-footer {
  display: none !important;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #1a3a42;
}


/* ============================================================
   LANDING (Template: Maquila - Landing)
   ============================================================ */

.maquila-landing {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-image: url('https://salauno.com.mx/wp-content/themes/understrap-child-master/img/maquila/Background-Web.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Overlay teal */
.maquila-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 90, 107, 0.82);
  z-index: 0;
}

/* Barra blanca superior */
.maquila-topbar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 10px;
  background: #ffffff;
}

/* Barra blanca inferior */
.maquila-bottombar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 10px;
  background: #ffffff;
}

/* Contenido hero */
.maquila-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.maquila-logo img {
  max-width: 150px;
  margin-bottom: 6px;
}

.maquila-brand-name {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: lowercase;
  margin-bottom: 14px;
}

.maquila-divider {
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 auto 20px;
}

.maquila-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 50px;
}

/* Tarjetas CTA */
.maquila-cta-row {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0;
  padding-bottom: 40px;
}

.maquila-cta-card {
  flex: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 30px 30px;
}

.maquila-cta-card p {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.maquila-cta-card small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  display: block;
  margin-bottom: 18px;
  line-height: 1.4;
  text-align: center;
}

/* Botón landing (enlace) */
.maquila-btn {
  display: inline-block;
  background: #f5c518;
  color: #1a3a42;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 50px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  min-width: 220px;
  text-align: center;
}

.maquila-btn:hover {
  background: #e0b200;
  color: #1a3a42;
  text-decoration: none;
  transform: translateY(-1px);
}


/* ============================================================
   LAYOUT COMPARTIDO (Login + Registro)
   ============================================================ */

.maquila-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.maquila-header {
  display: flex;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #e5e5e5;
  gap: 16px;
  position: relative;
}

.maquila-header .brand-left {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 800;
  font-size: 0.85rem;
  color: #1a3a42;
}

.maquila-header .sep {
  width: 1px;
  height: 40px;
  background: #cccccc;
}

.maquila-header .logo-right img {
  height: 36px;
}

/* Botón regresar — Registro Paso 2 */
.maquila-header .btn-regresar {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1a3a42;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.maquila-header .btn-regresar:hover {
  color: #1a9aab;
}

.maquila-header .btn-regresar svg {
  width: 16px;
  height: 16px;
}

/* ── Contenido central ── */
.maquila-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 100px;
}

.maquila-step-label {
  font-size: 0.85rem;
  color: #888;
  text-align: left;
  margin-bottom: 6px;
}

.maquila-step-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #1a9aab;
  text-align: left;
  margin: 0 0 8px;
}

.maquila-step-subtitle {
  font-size: 0.9rem;
  color: #555;
  text-align: left;
  margin-bottom: 36px;
}


/* ============================================================
   FORMULARIOS COMPARTIDOS
   ============================================================ */

.maquila-form {
  width: 100%;
  max-width: 500px;
}

.maquila-form-group {
  margin-bottom: 22px;
}

.maquila-form-group label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  color: #1a3a42;
  margin-bottom: 8px;
}

.maquila-form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}

.maquila-form-group input,
.maquila-form-group select {
  width: 100%;
  padding: 13px 20px;
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #1a3a42;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background: #fff;
  appearance: none;
}

.maquila-form-group input::placeholder {
  color: #aaa;
}

.maquila-form-group input:focus,
.maquila-form-group select:focus {
  border-color: #1a9aab;
}

/* ── Botón submit ── */
.maquila-submit-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.maquila-btn-submit {
  background: #f5c518;
  color: #1a3a42;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 60px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  min-width: 260px;
}

.maquila-btn-submit:hover {
  background: #e0b200;
  transform: translateY(-1px);
}

/* ── Link de ayuda ── */
.maquila-help {
  text-align: left;
  margin-top: 20px;
  font-size: 0.88rem;
  color: #555;
}

.maquila-help a {
  color: #1a9aab;
  text-decoration: underline;
}

/* ── Alertas ── */
.maquila-alert-error {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.maquila-alert-info {
  background: #ebf8ff;
  border: 1px solid #bee3f8;
  color: #2b6cb0;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

/* ── Footer ── */
.maquila-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  color: #aaa;
}


/* ============================================================
   REGISTRO PASO 2 — Datos de Óptica
   (Template: Maquila - Registro Paso 2)
   ============================================================ */

/* Contenido centrado para el formulario de dos columnas */
.maquila-content--registro {
  align-items: center;
  padding: 40px 20px 60px;
}

/* Formulario ancho para dos columnas */
.maquila-form--wide {
  max-width: 900px;
}

.maquila-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 0;
}

/* Columna derecha: empuja el botón al fondo */
.maquila-col-right {
  display: flex;
  flex-direction: column;
}

.maquila-submit-wrap--right {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 10px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 640px) {
  .maquila-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .maquila-cta-card {
    max-width: 100%;
  }

  .maquila-form-grid {
    grid-template-columns: 1fr;
  }

  .maquila-submit-wrap,
  .maquila-submit-wrap--right {
    justify-content: center;
  }
	  .maquila-content {
    align-items: center;
    padding: 40px 20px;
  }

  .maquila-step-label,
  .maquila-step-title,
  .maquila-step-subtitle {
    text-align: center;
  }

  .maquila-submit-wrap {
    justify-content: center;
  }
}
/* ============================================================
   REGISTRO — clases propias (reg-*)
   ============================================================ */

.reg-content {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 48px 24px 64px;
  width: 100%;
  box-sizing: border-box;
}

.reg-alert {
  width: 100%;
  max-width: 780px;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  box-sizing: border-box;
}

/* ── Formulario ── */
.reg-form {
  display: block !important;
  width: 100%;
  max-width: 780px;
  box-sizing: border-box;
}

/* ── Sección ── */
.reg-section {
  display: block !important;
  width: 100%;
  margin-bottom: 44px;
  box-sizing: border-box;
}

.reg-section__head {
  display: block !important;
  width: 100%;
  margin-bottom: 28px;
}

.reg-section__title {
  display: block !important;
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a9aab;
  text-align: center;
  margin: 0 0 6px;
  float: none !important;
}

.reg-section__subtitle {
  display: block !important;
  text-align: center;
  color: #666;
  font-size: 0.88rem;
  margin: 0;
  float: none !important;
}

/* ── Columna única centrada (Acceso + Responsable) ── */
.reg-single-col {
  display: block !important;
  max-width: 380px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── Grid 2 columnas (Óptica) ── */
.reg-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  width: 100%;
  box-sizing: border-box;
}

.reg-grid__col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
}

/* ── Campo ── */
.reg-field {
  display: block !important;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.reg-field label {
  display: block !important;
  font-weight: 800;
  font-size: 0.88rem;
  color: #1a9aab;
  margin-bottom: 7px;
  float: none !important;
}

.reg-field label .req {
  color: #e53e3e;
  margin-left: 2px;
}

.reg-field input,
.reg-field select {
  display: block !important;
  width: 100%;
  padding: 12px 20px;
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #1a3a42;
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  float: none !important;
}

.reg-field input::placeholder {
  color: #bbb;
}

.reg-field input:focus,
.reg-field select:focus {
  border-color: #1a9aab;
}

/* ── Botón Finalizar ── */
.reg-submit {
  display: flex !important;
  justify-content: center;
  padding: 8px 0 20px;
}

.reg-btn-finalizar {
  background: #f5c518;
  color: #1a3a42;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  padding: 14px 60px;
  cursor: pointer;
  min-width: 200px;
  transition: background 0.2s, transform 0.1s;
}

.reg-btn-finalizar:hover {
  background: #e0b200;
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .reg-content {
    padding: 32px 16px 48px;
  }

  .reg-grid {
    grid-template-columns: 1fr !important;
    column-gap: 0;
  }

  .reg-single-col {
    max-width: 100%;
  }
}
/* ============================================================
   DASHBOARD — clases propias (dash-*)
   ============================================================ */

.dash-content {
  flex: 1;
  padding: 36px 48px 60px;
  box-sizing: border-box;
}

/* ── Topbar ── */
.dash-topbar {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.dash-title {
  margin: 0 0 10px;
  line-height: 1.1;
}

.dash-title__dark {
  display: block !important;
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a3a42;
}

.dash-title__teal {
  display: block !important;
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a9aab;
}

.dash-title-divider {
  width: 56px;
  height: 3px;
  background: #1a9aab;
  border: none;
  margin: 12px 0 14px;
}

.dash-subtitle {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.dash-welcome-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end;
  gap: 6px;
}

.dash-welcome {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a9aab;
}

.dash-back {
  display: flex !important;
  align-items: center;
  gap: 5px;
  color: #1a3a42;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.dash-back:hover {
  color: #1a9aab;
}

/* ── Filtros ── */
.dash-filters {
  display: flex !important;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dash-filter {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
}

.dash-filter label {
  display: block !important;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a9aab;
}

.dash-filter__wrap {
  position: relative;
  display: flex !important;
  align-items: center;
}

.dash-filter__wrap input {
  padding: 10px 40px 10px 18px;
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  font-size: 0.88rem;
  color: #1a3a42;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.dash-filter__wrap input:focus {
  border-color: #1a9aab;
}

/* Primer filtro más ancho */
.dash-filter:nth-child(1) .dash-filter__wrap input { width: 220px; }
.dash-filter:nth-child(2) .dash-filter__wrap input { width: 140px; }
.dash-filter:nth-child(3) .dash-filter__wrap input { width: 220px; }

.dash-filter__icon {
  position: absolute;
  right: 14px;
  color: #999;
  pointer-events: none;
}

.dash-btn-search {
  background: #f5c518;
  color: #1a3a42;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  padding: 11px 36px;
  cursor: pointer;
  min-width: 160px;
  align-self: flex-end;
  transition: background 0.2s, transform 0.1s;
}

.dash-btn-search:hover {
  background: #e0b200;
  transform: translateY(-1px);
}

/* ── Tabla ── */
.dash-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ddd;
  margin-bottom: 32px;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}

.dash-table thead tr {
  background: #1a3a42;
}

.dash-table thead th {
  padding: 14px 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.3;
}

.dash-table tbody tr {
  border-bottom: 1px solid #eee;
}

.dash-table tbody tr:last-child {
  border-bottom: none;
}

.dash-table tbody td {
  padding: 14px 12px;
  text-align: center;
  color: #444;
  vertical-align: middle;
}

/* Estados */
.dash-status--entregada {
  color: #1a9aab;
  font-weight: 700;
}

.dash-status--pendiente {
  color: #d4900a;
  font-weight: 700;
}

/* Iconos de acción */
.dash-actions {
  display: flex !important;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.dash-actions button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #999;
  display: flex !important;
  align-items: center;
  transition: color 0.2s;
}

.dash-actions button:hover {
  color: #1a9aab;
}

/* ── Botón nueva orden ── */
.dash-new-wrap {
  display: flex !important;
}

.dash-btn-new {
  display: inline-block;
  background: #f5c518;
  color: #1a3a42;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.dash-btn-new:hover {
  background: #e0b200;
  color: #1a3a42;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dash-content {
    padding: 24px 16px 48px;
  }

  .dash-topbar {
    flex-direction: column !important;
    gap: 16px;
  }

  .dash-welcome-block {
    align-items: flex-start;
  }

  .dash-filters {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .dash-filter:nth-child(1) .dash-filter__wrap input,
  .dash-filter:nth-child(2) .dash-filter__wrap input,
  .dash-filter:nth-child(3) .dash-filter__wrap input {
    width: 100%;
  }

  .dash-table-wrap {
    overflow-x: auto;
  }
}

/* ── Menú hamburguesa ── */
.dash-menu-wrap {
  position: relative;
  display: inline-block;
}

.dash-welcome {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a9aab;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 6px;
}

.dash-welcome:hover {
  color: #065a6b;
}

/* Dropdown */
.dash-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #d0edf1;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 100;
}

.dash-dropdown--open {
  display: block !important;
}

.dash-dropdown li {
  margin: 0;
  padding: 0;
}

.dash-dropdown li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a3a42;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dash-dropdown li a:hover {
  background: #f0fafc;
  color: #1a9aab;
  text-decoration: none;
}

.dash-dropdown li a svg {
  flex-shrink: 0;
  color: #1a9aab;
}

.dash-dropdown li + li {
  border-top: 1px solid #f0f0f0;
}

/* ============================================================
   LOGIN — clases propias (login-*)
   ============================================================ */

.login-content {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
  padding: 48px 24px 64px;
  box-sizing: border-box;
}

.login-box {
  display: block !important;
  width: 100%;
  max-width: 460px;
  box-sizing: border-box;
}

/* ── Título ── */
.login-title {
  display: block !important;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a9aab;
  text-align: center;
  margin: 0 0 10px;
}

/* ── Subtítulo con link de registro ── */
.login-register-link {
  display: block !important;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 36px;
}

.login-register-link a {
  color: #1a3a42;
  text-decoration: underline;
  font-weight: 600;
}

.login-register-link a:hover {
  color: #1a9aab;
}

/* ── Alertas ── */
.login-alert {
  display: block !important;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  box-sizing: border-box;
}

.login-alert--error {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

.login-alert--info {
  background: #ebf8ff;
  border: 1px solid #bee3f8;
  color: #2b6cb0;
}

/* ── Formulario ── */
.login-form {
  display: block !important;
  width: 100%;
}

.login-field {
  display: block !important;
  margin-bottom: 20px;
}

.login-field label {
  display: block !important;
  font-weight: 800;
  font-size: 0.9rem;
  color: #1a3a42;
  margin-bottom: 8px;
  float: none !important;
}

.login-field label .req {
  color: #e53e3e;
  margin-left: 2px;
}

.login-field input {
  display: block !important;
  width: 100%;
  padding: 13px 20px;
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #1a3a42;
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  float: none !important;
}

.login-field input::placeholder {
  color: #bbb;
}

.login-field input:focus {
  border-color: #1a9aab;
}

/* ── Botón ── */
.login-submit {
  display: flex !important;
  justify-content: center;
  margin: 28px 0 0;
}

.login-btn {
  background: #f5c518;
  color: #1a3a42;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  padding: 14px 0;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.login-btn:hover {
  background: #e0b200;
  transform: translateY(-1px);
}

/* ── Ayuda ── */
.login-help {
  display: block !important;
  text-align: center;
  margin-top: 28px;
}

.login-help p {
  font-weight: 700;
  color: #1a9aab;
  font-size: 0.9rem;
  margin: 0 0 4px;
}

.login-help a {
  color: #1a9aab;
  font-size: 0.9rem;
  text-decoration: underline;
}

.login-help a:hover {
  color: #065a6b;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .login-content {
    padding: 32px 16px 48px;
  }

  .login-title {
    font-size: 1.8rem;
  }
}
/* ============================================================
   OTE – Orden de Trabajo Externo
   Clases: ote-*
   ============================================================ */

/* ── Contenedor principal ───────────────────────────────── */
.ote-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ── Topbar ─────────────────────────────────────────────── */
.ote-topbar {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.ote-title-block {
  display: flex !important;
  flex-direction: column !important;
}

.ote-title {
  margin: 0 0 6px;
  line-height: 1.2;
  font-size: 1.6rem;
}

.ote-title__dark {
  display: block !important;
  color: #1a3a42;
  font-weight: 700;
}

.ote-title__teal {
  display: block !important;
  color: #1a9aab;
  font-weight: 700;
}

.ote-title-divider {
  width: 60px;
  height: 3px;
  background: #1a9aab;
  border-radius: 2px;
  margin: 6px 0;
}

.ote-subtitle {
  margin: 6px 0 0;
  color: #555;
  font-size: 0.85rem;
}

.ote-welcome-block {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

/* ── Formulario ─────────────────────────────────────────── */
.ote-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px;
}

/* ── Campos genéricos ───────────────────────────────────── */
.ote-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px;
}

.ote-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a3a42;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ote-field input,
.ote-field select {
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.9rem;
  color: #1a3a42;
  background: #fff;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.ote-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a9aab' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.ote-field input:focus,
.ote-field select:focus {
  border-color: #1a9aab;
  box-shadow: 0 0 0 3px rgba(26,154,171,0.12);
}

/* ── Fila cabecera: referencia + info de orden ──────────── */
.ote-header-row {
  display: flex !important;
  align-items: flex-end;
  gap: 24px;
}

.ote-header-row .ote-field {
  flex: 1;
}

.ote-order-info {
  display: flex !important;
  gap: 24px;
  background: #f0f8fa;
  border: 1.5px solid #a8d8e0;
  border-radius: 12px;
  padding: 10px 20px;
  white-space: nowrap;
}

.ote-order-info__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
}

.ote-order-info__label {
  font-size: 0.72rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ote-order-info__num {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a42;
}

.ote-order-info__estado {
  font-size: 0.8rem;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  padding: 2px 12px;
  border-radius: 50px;
}

/* ── Tabla Rx ────────────────────────────────────────────── */
.ote-rx-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

.ote-rx-table {
  width: 100%;
  border-collapse: collapse;
}

.ote-rx-table thead tr {
  background: #1a3a42;
  color: #fff;
}

.ote-rx-table thead th {
  padding: 10px 8px;
  font-size: 0.72rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
}

.ote-rx-table thead th small {
  display: block !important;
  font-size: 0.65rem;
  opacity: 0.8;
  font-weight: 400;
  text-transform: none;
}

.ote-rx-table thead th:first-child { border-radius: 8px 0 0 8px; width: 56px; }
.ote-rx-table thead th:last-child  { border-radius: 0 8px 8px 0; }

.ote-rx-table tbody tr { background: #fff; }

.ote-rx-table tbody td {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 1px solid #e5f0f2;
}

.ote-rx-eye {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a3a42;
}

.ote-rx-table tbody input {
  width: 80px;
  border: 1.5px solid #a8d8e0;
  border-radius: 6px;
  padding: 6px 6px;
  text-align: center;
  font-size: 0.88rem;
  outline: none;
  color: #1a3a42;
  background: #fff;
}

.ote-rx-table tbody input:focus {
  border-color: #1a9aab;
  box-shadow: 0 0 0 2px rgba(26,154,171,0.15);
}

/* ── Prisma ─────────────────────────────────────────────── */
.ote-prisma {
  display: flex !important;
  align-items: center;
  gap: 20px;
  background: #f8fafb;
  border: 1.5px dashed #a8d8e0;
  border-radius: 10px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.ote-prisma__label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a3a42;
  white-space: nowrap;
}

.ote-prisma__fields {
  display: flex !important;
  gap: 20px;
  flex: 1;
}

.ote-prisma__eye {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.ote-prisma__eye span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a3a42;
}

.ote-prisma__eye input {
  width: 70px;
  border: 1.5px solid #a8d8e0;
  border-radius: 6px;
  padding: 6px 8px;
  text-align: center;
  font-size: 0.85rem;
  outline: none;
  color: #1a3a42;
  background: #fff;
}

.ote-prisma__eye input:focus { border-color: #1a9aab; }

.ote-prisma__limit {
  margin-left: auto;
  font-size: 0.75rem;
  color: #888;
  text-align: right;
  line-height: 1.5;
}

/* ── Grid Diseño / Material / Lentes / Tinte ────────────── */
.ote-lens-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Secciones genéricas ────────────────────────────────── */
.ote-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px;
  padding: 20px 24px;
  background: #fff;
  border: 1.5px solid #e5f0f2;
  border-radius: 14px;
}

.ote-section-title {
  display: flex !important;
  gap: 8px;
  margin: 0;
  font-size: 1.1rem;
  align-items: baseline;
}

.ote-section-title__dark { color: #1a3a42; font-weight: 700; }
.ote-section-title__teal { color: #1a9aab; font-weight: 700; }

.ote-section-divider {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(to right, #1a9aab 0%, #e5f0f2 60%);
  border-radius: 2px;
}

/* ── Armazón: selects + toggle ──────────────────────────── */
.ote-armazon-top {
  display: flex !important;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.ote-armazon-selects {
  display: flex !important;
  gap: 16px;
  flex: 1;
}

.ote-armazon-selects .ote-field { flex: 1; }

.ote-armazon-estado {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px;
}

.ote-armazon-estado > label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a3a42;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── Toggle Nuevo / Usado ───────────────────────────────── */
.ote-toggle {
  display: flex !important;
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  overflow: hidden;
}

.ote-toggle__btn {
  padding: 8px 22px;
  border: none;
  background: transparent;
  color: #888;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ote-toggle__btn--active {
  background: #1a3a42;
  color: #fff;
}

/* ── Nota de medidas ────────────────────────────────────── */
.ote-medidas-note {
  margin: 0;
  font-size: 0.82rem;
  color: #1a3a42;
  font-weight: 600;
  line-height: 1.5;
}

.ote-medidas-note span {
  font-weight: 400;
  color: #888;
}

/* ── Fila medidas: campos izq + diagrama der ────────────── */
.ote-medidas-row {
  display: flex !important;
  gap: 24px;
  align-items: center;
}

.ote-medidas-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px;
  flex: 0 0 300px;
}

.ote-medidas-right {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 8px;
}

/* ── Campo con línea punteada ───────────────────────────── */
.ote-dotted-field {
  display: flex !important;
  align-items: center;
  gap: 0;
  width: 100%;
}

.ote-dotted-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a3a42;
  white-space: nowrap;
}

.ote-dotted-field::after {
  content: '';
  flex: 1;
  border-bottom: 2px dotted #a8d8e0;
  margin: 0 8px;
  align-self: center;
}

.ote-dotted-field .req {
  color: #e53e3e;
  margin-left: 0;
  flex-shrink: 0;
  order: 3;
}

.ote-dotted-input {
  width: 72px !important;
  border: 1.5px solid #a8d8e0 !important;
  border-radius: 6px !important;
  padding: 6px 8px !important;
  text-align: center !important;
  font-size: 0.85rem !important;
  outline: none !important;
  color: #1a3a42 !important;
  background: #fff !important;
  flex-shrink: 0;
  order: 2;
}

.ote-dotted-input:focus { border-color: #1a9aab !important; }

.ote-boxing-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a9aab;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ote-boxing-diagram,
.ote-medidas-right--diagram {
  width: 100%;
  max-width: 340px;
}

.ote-diagram-svg {
  width: 100%;
  height: auto;
}

/* ── Observaciones ──────────────────────────────────────── */
.ote-observaciones {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
}

.ote-observaciones label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a3a42;
}

.ote-obs-input {
  width: 100%;
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #1a3a42;
  outline: none;
  box-sizing: border-box;
  background: #fff;
}

.ote-obs-input:focus {
  border-color: #1a9aab;
  box-shadow: 0 0 0 3px rgba(26,154,171,0.12);
}

/* ── Fila precio + agregar orden ────────────────────────── */
.ote-price-row {
  display: flex !important;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1.5px solid #e5f0f2;
  border-bottom: 1.5px solid #e5f0f2;
}

.ote-price-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
}

.ote-price-group > label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a3a42;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ote-price-input-wrap {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.ote-price-input-wrap input {
  width: 160px;
  border: 1.5px solid #a8d8e0;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.9rem;
  color: #1a3a42;
  outline: none;
  background: #fff;
}

.ote-price-input-wrap input:focus { border-color: #1a9aab; }

.ote-price-delete {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #fca5a5;
  border-radius: 50%;
  background: #fff5f5;
  color: #e53e3e;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.ote-price-delete:hover { background: #fee2e2; }

.ote-add-order { margin-left: auto; }

.ote-add-order-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #1a9aab;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.ote-add-order-link:hover { color: #1a3a42; }

.ote-add-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #1a3a42;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

/* ── Botón colapsar ─────────────────────────────────────── */
.ote-collapse {
  display: flex !important;
  justify-content: center;
}

.ote-collapse-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #a8d8e0;
  border-radius: 50%;
  background: #fff;
  color: #1a9aab;
  cursor: pointer;
  transition: background 0.2s;
}

.ote-collapse-btn:hover { background: #f0f8fa; }

/* ── Soporte ─────────────────────────────────────────────── */
.ote-soporte {
  background: #f4fbfc !important;
  border-color: #c7e8ed !important;
}

.ote-soporte-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #555;
}

.ote-soporte-row {
  display: flex !important;
  gap: 32px;
}

.ote-soporte-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  flex: 1;
}

.ote-soporte-left > label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a3a42;
}

.ote-soporte-left textarea {
  width: 100%;
  border: 1.5px solid #a8d8e0;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #1a3a42;
  resize: vertical;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
}

.ote-soporte-left textarea:focus {
  border-color: #1a9aab;
  box-shadow: 0 0 0 3px rgba(26,154,171,0.12);
}

.ote-btn-enviar {
  align-self: flex-start;
  background: #f5c518;
  color: #1a3a42;
  border: none;
  border-radius: 50px;
  padding: 10px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.ote-btn-enviar:hover { background: #edb80a; }

.ote-soporte-right {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
  flex: 0 0 260px;
}

.ote-soporte-right__intro {
  margin: 0;
  font-size: 0.82rem;
  color: #555;
}

.ote-soporte-right__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a3a42;
}

.ote-contact-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
}

.ote-contact-item > span {
  font-size: 0.78rem;
  color: #888;
}

.ote-contact-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  width: fit-content;
}

.ote-contact-btn:hover { opacity: 0.85; }
.ote-contact-btn--phone     { background: #1a9aab; color: #fff; }
.ote-contact-btn--whatsapp  { background: #25d366; color: #fff; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .ote-lens-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .ote-topbar {
    flex-direction: column !important;
    gap: 16px;
  }
  .ote-header-row {
    flex-direction: column !important;
    align-items: stretch;
  }
  .ote-rx-table {
    display: block;
    overflow-x: auto;
  }
  .ote-medidas-row {
    flex-direction: column !important;
    align-items: stretch;
  }
  .ote-medidas-left {
    flex: unset;
    width: 100%;
  }
  .ote-armazon-top {
    flex-direction: column !important;
    align-items: stretch;
  }
  .ote-soporte-row {
    flex-direction: column !important;
  }
  .ote-soporte-right {
    flex: unset;
    width: 100%;
  }
  .ote-price-row {
    flex-direction: column !important;
    align-items: flex-start;
  }
  .ote-add-order { margin-left: 0; }
}

@media (max-width: 480px) {
  .ote-lens-grid {
    grid-template-columns: 1fr !important;
  }
}
</style>
<!-- end Simple Custom CSS and JS -->
