/* =========================================================
   Portal de Proveedores - Municipio de Lobos
   Estetica unificada con Tramites-On-Line/ctacte.asp

   Valores tomados directamente de municipio-base.css:
   --primary:      #0b5c8f
   --primary-dark: #083e66
   --accent:       #1c75bc
   --accent-dark:  #0f5f9f
   --accent-soft:  #e9f3fb
   --bg:           #eef3f8
   --text:         #1d2939
   --muted:        #667085
   --border:       #d3dfeb
   --success:      #12715b
   --radius:       18px
   ========================================================= */

:root {
  --primary: #0b5c8f;
  --primary-dark: #083e66;
  --accent: #1c75bc;
  --accent-dark: #0f5f9f;
  --accent-soft: #e9f3fb;
  --bg: #eef3f8;
  --card: #ffffff;
  --text: #1d2939;
  --muted: #667085;
  --border: #d3dfeb;
  --success: #12715b;
  --shadow: 0 12px 30px rgba(11, 92, 143, .10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 76, 129, .09), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.clr {
  clear: both;
}

/* =========================================================
   Estructura general
   Equivale a .page + .content-wrap de ctacte.asp
   ========================================================= */
#Contenedor {
  width: 100%;
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px 40px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.header,
.bienvenida-proveedores,
.mensaje-sistema,
.form-intro,
#ContForms,
.Error,
.success-state,
.system-result,
#table6,
.provider-actions,
#contenido,
.Footer,
.secondary-action {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Encabezado
   Mismas medidas y tipografia del topbar de ctacte.asp
   ========================================================= */
.header {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

#ContLogo {
  width: 210px;
  min-width: 0;
}

#ContLogo img {
  display: block;
  width: 210px;
  height: auto;
}

.brand-copy {
  min-width: 0;
}

.brand-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand-title {
  display: block;
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}

/* Se fuerza .nav para evitar la colision historica con .Nav en modo quirks. */
.header .nav,
#header.nav {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  justify-self: end;
}

.menuCSS3 ul {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: transparent;
  list-style: none;
}

.menuCSS3 li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Mismo alto, radio, gradiente y sombra que .btn-primary de ctacte.asp */
.menuCSS3 > ul > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 22px rgba(28, 117, 188, .22);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.menuCSS3 > ul > li > a:hover,
.menuCSS3 > ul > li > a:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(28, 117, 188, .28);
  outline: none;
}

.menuCSS3 ul li ul {
  display: none;
  position: absolute;
  z-index: 10000;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(10, 53, 89, .18);
}

.menuCSS3 ul li:hover > ul,
.menuCSS3 ul li:focus-within > ul {
  display: block;
}

.menuCSS3 ul li ul li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--primary-dark);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.menuCSS3 ul li ul li a:hover,
.menuCSS3 ul li ul li a:focus {
  background: #f7fbff;
  color: var(--primary-dark);
  text-decoration: none;
  outline: none;
}

/* =========================================================
   Inicio - aviso a proveedores
   Usa exactamente el lenguaje visual del hero de ctacte.asp
   ========================================================= */
.bienvenida-proveedores {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 24px;
  padding: 28px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 18px 40px rgba(10, 53, 89, .24);
  color: #fff;
}

.bienvenida-proveedores::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}

.bienvenida-proveedores strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 800;
}

.bienvenida-proveedores > strong:first-child {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.mensaje-sistema {
  margin-top: -6px;
  margin-bottom: 18px;
  color: var(--muted);
  text-align: left;
}

.mensaje-sistema:empty,
.Error:empty {
  display: none;
}

/* =========================================================
   Mensajes y estados
   ========================================================= */
.Error {
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #ffd4cd;
  border-radius: 14px;
  background: #fff3f2;
  color: #b42318;
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
}

.success-state,
.system-result {
  margin-top: 22px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #b7dfd4;
  border-radius: 16px;
  background: #effaf6;
  color: var(--success);
  font-weight: 700;
}

.legacy-notice {
  width: 100%;
  max-width: 980px;
  margin: 18px auto;
  padding: 14px 16px;
  border: 1px solid #d5e5f5;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f8fe 0%, #eef5fc 100%);
  color: var(--primary-dark);
  font-weight: 700;
}

/* =========================================================
   Formularios
   Campos apilados como se solicito, pero con medidas reales de ctacte.asp
   ========================================================= */
.form-intro {
  margin-top: 22px;
  margin-bottom: 12px;
}

.form-intro h2 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 1.3rem;
  line-height: 1.2;
}

.form-intro p {
  margin: 0;
  color: var(--muted);
}

#ContForms {
  margin-top: 0;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(219, 228, 238, .85);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

#ContForms form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin: 0;
}

#Cont-Casillero,
[id="Cont-Casillero noborder"] {
  width: 100%;
  min-width: 0;
  margin: 0;
}

label {
  display: block;
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: .96rem;
  font-weight: 700;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, .12);
}

input.Enviar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 22px rgba(28, 117, 188, .22);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

input.Enviar:hover,
input.Enviar:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(28, 117, 188, .28);
  outline: none;
}

.secondary-action,
.detail-action {
  margin-top: 14px;
  margin-bottom: 0;
}

.secondary-action {
  max-width: 980px;
}

.secondary-action .TramiteBtn {
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--primary);
  font-weight: 600;
}

.secondary-action .TramiteBtn:hover,
.secondary-action .TramiteBtn:focus {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-1px);
}


/* Botón superior Volver de DetalleRepa.asp */
.detail-back-action {
  margin-top: 0;
  margin-bottom: 18px;
}

.detail-back-action button.TramiteBtn {
  font-family: inherit;
  cursor: pointer;
}

/* =========================================================
   Identificacion del proveedor
   Inspirada en .summary-item de ctacte.asp
   ========================================================= */
#table6 {
  margin-top: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  background: #f9fbfd;
  color: var(--text);
  overflow: hidden;
}

#table6 td {
  padding: 16px;
  border: 0;
  background: #f9fbfd;
  color: var(--primary-dark) !important;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
}

#table6 td:last-child {
  color: var(--primary-dark) !important;
  text-align: right;
}

/* =========================================================
   Accesos del proveedor
   Mismo estilo que .action-link de ctacte.asp
   ========================================================= */
.provider-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
  margin-bottom: 20px;
}

.provider-actions p {
  margin: 0;
}

.TramiteBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}

.TramiteBtn:hover,
.TramiteBtn:focus {
  background: #f7fbff;
  color: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11, 92, 143, .10);
  outline: none;
}

/* =========================================================
   Contenedor del contenido interno
   Se comporta como una .card de ctacte.asp
   ========================================================= */
#contenido {
  display: block;
  height: 590px;
  min-height: 430px;
  margin-top: 0;
  margin-bottom: 0;
  border: 1px solid rgba(219, 228, 238, .85);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

/* =========================================================
   Pie
   Igual al footer discreto de ctacte.asp
   ========================================================= */
.Footer {
  margin-top: 34px;
  margin-bottom: 0;
  padding: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  text-align: center;
}

.Footer .Foot {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

/* =========================================================
   Paginas cargadas dentro del iframe
   ========================================================= */
body.iframe-page {
  min-width: 0;
  margin: 0;
  padding: 24px;
  background: #fff;
  color: var(--text);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.iframe-shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.iframe-title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--primary-dark) !important;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.iframe-message {
  margin: 18px 0 20px;
  padding: 16px;
  border: 1px solid #d5e5f5;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f8fe 0%, #eef5fc 100%);
  color: var(--text);
}

.alert-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #b9d0e3;
  color: var(--primary-dark);
  font-weight: 800;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================================
   Tablas internas
   Mismas alturas, espacios, radios y gradientes que .result-table
   de ctacte.asp
   ========================================================= */
body.iframe-page table:not(#table6),
#table3,
#table7 {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  background: transparent;
  overflow: visible;
}

.secondary-table {
  margin-top: 16px !important;
}

#table3 td,
#table7 td,
body.iframe-page table:not(#table6) td {
  padding: 14px 12px;
  border: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  color: var(--text) !important;
  font-size: .95rem;
  line-height: 1.35;
  vertical-align: middle;
  text-align: center;
}

/* Titulo general de una seccion de tabla.
   En ctacte.asp el titulo esta fuera de la tabla (.results-head h3),
   por eso se presenta como titulo limpio y luego comienza el encabezado azul. */
.responsive-data-table .table-title-row td,
#table7 .table-title-row td {
  padding: 2px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--primary-dark) !important;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left !important;
}

/* Encabezados: replica de .result-table thead th */
.responsive-data-table .table-heading td,
#table3 .table-heading td,
#table7 .table-heading td {
  padding: 12px;
  border: 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
  box-shadow: 0 2px 0 rgba(8, 62, 102, .12);
  color: #fff !important;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center !important;
  text-transform: uppercase;
  vertical-align: middle;
}

.responsive-data-table .table-heading td:first-child,
#table3 .table-heading td:first-child,
#table7 .table-heading td:first-child {
  border-radius: 14px 0 0 14px;
}

.responsive-data-table .table-heading td:last-child,
#table3 .table-heading td:last-child,
#table7 .table-heading td:last-child {
  border-radius: 0 14px 14px 0;
}

.responsive-data-table .data-row td:first-child,
.responsive-data-table .total-row td:first-child,
#table3 .data-row td:first-child,
#table7 .data-row td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 14px 0 0 14px;
}

.responsive-data-table .data-row td:last-child,
.responsive-data-table .total-row td:last-child,
#table3 .data-row td:last-child,
#table7 .data-row td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 14px 14px 0;
}

.responsive-data-table .data-row:hover td,
#table3 .data-row:hover td,
#table7 .data-row:hover td {
  background: #fbfdff;
}

.responsive-data-table .total-row td {
  background: #f9fbfd !important;
  color: var(--primary-dark) !important;
  font-weight: 800;
}

#table3 td[align="right"],
#table7 td[align="right"] {
  text-align: right;
}

#table3 td[align="center"],
#table7 td[align="center"] {
  text-align: center;
}

#table3 td[align="left"],
#table7 td[align="left"] {
  text-align: left;
}

.cell-warning {
  background: #fff7ee !important;
  color: #9a4b09 !important;
  font-weight: 800;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  transition: background-color .2s ease, transform .15s ease;
}

.icon-link:hover,
.icon-link:focus {
  background: #f7fbff;
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
}

.icon-link img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.print-link {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.print-link a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-dark);
  text-decoration: none;
}

.print-link a:hover {
  text-decoration: underline;
}

.print-link img {
  width: 18px;
  height: 18px;
}

.empty-state {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f9fbfd;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.detail-action {
  width: 100%;
  max-width: 360px;
}

/* =========================================================
   Compatibilidad con clases heredadas
   ========================================================= */
.back {
  color: #fff;
  text-decoration: none;
}

h2.Titulos {
  margin: 20px 0 8px;
  color: var(--primary-dark);
  font-size: 1.3rem;
}

p.Textos {
  color: var(--text);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

a.two {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 22px rgba(28, 117, 188, .22);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.guia {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  text-decoration: none;
}

.Numeros {
  color: var(--primary-dark);
  font-family: Verdana, Arial, sans-serif;
  font-size: x-small;
  font-weight: bold;
  text-align: right;
  vertical-align: middle;
}

.TextBox,
.TextBoxCM {
  width: 100%;
  min-height: 32px;
  border: 0;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.TextBox {
  text-align: right;
}

.TextBoxCM {
  text-align: left;
}

.CeldaIG {
  border: 1px solid var(--border);
}

.legacy-hidden {
  display: none;
}

/* =========================================================
   Responsive - replica los cortes principales de ctacte.asp
   ========================================================= */
@media (max-width: 980px) {
  .provider-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #Contenedor {
    padding: 14px 12px 28px;
  }

  .header {
    grid-template-columns: 147px minmax(0, 1fr);
    align-items: start;
    gap: 12px 14px;
  }

  #ContLogo,
  #ContLogo img {
    width: 147px;
  }

  .brand-kicker {
    font-size: .75rem;
  }

  .brand-title {
    font-size: 1.45rem;
  }

  .header .nav,
  #header.nav {
    grid-column: 1 / -1;
    width: 100% !important;
    justify-self: stretch;
  }

  .menuCSS3 > ul {
    width: 100%;
  }

  .menuCSS3 > ul > li {
    flex: 1 1 0;
  }

  .menuCSS3 > ul > li > a {
    width: 100%;
  }

  .menuCSS3 ul li ul {
    left: 0;
    right: auto;
  }

  .bienvenida-proveedores {
    padding: 18px;
  }

  #ContForms {
    padding: 18px;
  }

  #ContForms form {
    max-width: none;
  }

  input.Enviar {
    width: 100%;
  }

  #table6 {
    display: block;
  }

  #table6 tbody,
  #table6 tr,
  #table6 td {
    display: block;
    width: 100%;
  }

  #table6 td {
    padding: 12px 14px;
    text-align: left !important;
  }

  #table6 td + td {
    padding-top: 0;
    color: var(--muted) !important;
  }

  .provider-actions {
    grid-template-columns: 1fr;
  }

  .secondary-action .TramiteBtn {
    width: 100%;
  }

  #contenido {
    height: 70vh;
    min-height: 520px;
  }

  .Footer {
    margin-top: 28px;
    padding: 18px 8px;
  }

  body.iframe-page {
    padding: 18px;
  }

  /* Las tablas pasan a tarjetas, como .mobile-cards de ctacte.asp */
  body.iframe-page .responsive-data-table,
  body.iframe-page .responsive-data-table tbody {
    display: block;
    width: 100%;
    border: 0;
    border-spacing: 0;
    background: transparent;
    overflow: visible;
  }

  body.iframe-page .responsive-data-table tr {
    display: block;
    width: 100%;
    margin: 0 0 12px;
  }

  body.iframe-page .responsive-data-table tr.table-heading {
    display: none;
  }

  body.iframe-page .responsive-data-table tr.table-title-row {
    display: block;
    margin-bottom: 12px;
  }

  body.iframe-page .responsive-data-table tr.table-title-row td {
    display: block;
    width: 100%;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: var(--primary-dark) !important;
    font-size: 1.08rem;
    text-align: left !important;
  }

  body.iframe-page .responsive-data-table tr.data-row,
  body.iframe-page .responsive-data-table tr.total-row {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
  }

  body.iframe-page .responsive-data-table tr.data-row td,
  body.iframe-page .responsive-data-table tr.total-row td {
    display: grid;
    grid-template-columns: minmax(112px, 42%) minmax(0, 1fr);
    gap: 10px 14px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid #e7eef4;
    border-radius: 0;
    background: #fff !important;
    color: var(--text) !important;
    text-align: right !important;
  }

  body.iframe-page .responsive-data-table tr.data-row td:last-child,
  body.iframe-page .responsive-data-table tr.total-row td:last-child {
    border-bottom: 0;
  }

  body.iframe-page .responsive-data-table td[data-label]::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  body.iframe-page .responsive-data-table td.cell-warning {
    background: #fff7ee !important;
    color: #9a4b09 !important;
  }

  body.iframe-page .responsive-data-table td.cell-warning::before {
    color: #9a4b09;
  }

  body.iframe-page .responsive-data-table td.icon-cell {
    align-items: center;
  }

  body.iframe-page .responsive-data-table td.icon-cell .icon-link {
    justify-self: end;
  }

  .print-link {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .header {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 10px 12px;
  }

  #ContLogo,
  #ContLogo img {
    width: 118px;
  }

  .brand-kicker {
    font-size: .67rem;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .menuCSS3 ul {
    gap: 7px;
  }

  .menuCSS3 > ul > li > a {
    height: 46px;
    min-height: 46px;
    padding: 0 14px;
    font-size: .92rem;
  }

  .menuCSS3 ul li ul {
    min-width: 215px;
  }

  .bienvenida-proveedores {
    border-radius: 22px;
  }

  #ContForms {
    padding: 16px;
  }

  body.iframe-page {
    padding: 12px;
    font-size: 14px;
  }

  .iframe-title {
    font-size: 1.08rem;
  }
}

@media print {
  html,
  body,
  body.iframe-page {
    background: #fff;
  }

  #Contenedor {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .header,
  .Footer,
  .provider-actions,
  .print-link,
  .bienvenida-proveedores {
    display: none !important;
  }

  #contenido {
    height: auto;
    border: 0;
    box-shadow: none;
  }

  table {
    break-inside: avoid;
  }
}
