/* ===========================================================
   COLNADE — Panel administrativo + Login
   Sistema de diseño del Manual de Marca 2026 (portado del prototipo)
   =========================================================== */
:root {
  --forest: #24474c;
  --forest-deep: #1a353a;
  --forest-800: #173035;
  --cyan: #2eb9d5;
  --cyan-deep: #1f93ab;
  --leaf: #88a329;
  --leaf-deep: #6f8720;
  --gold: #f8ae13;
  --sand: #c3ad8e;
  --ink: #353435;
  --red: #e0374a;
  --paper: #ffffff;
  --wash: #f6f4f1;
  --line: #e4ded7;
  --muted: #6d7a78;
  --shadow-sm: 0 1px 2px rgba(23, 48, 53, .06), 0 2px 6px rgba(23, 48, 53, .05);
  --shadow-md: 0 6px 20px rgba(23, 48, 53, .10), 0 2px 6px rgba(23, 48, 53, .06);
  --shadow-lg: 0 24px 60px rgba(23, 48, 53, .20), 0 8px 20px rgba(23, 48, 53, .12);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: var(--font-body);
  color: var(--forest);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--leaf-deep)
}

.eyebrow.on-dark {
  color: var(--gold)
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: .18s ease;
  min-height: 44px;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px
}

.btn-primary {
  background: var(--forest);
  color: #fff
}

.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md)
}

.btn-cyan {
  background: var(--cyan);
  color: var(--forest-800)
}

.btn-cyan:hover {
  background: var(--cyan-deep);
  color: #fff
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  box-shadow: inset 0 0 0 1.5px var(--line)
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--forest);
  background: var(--wash)
}

.btn-danger {
  background: #fff;
  color: var(--red);
  box-shadow: inset 0 0 0 1.5px rgba(224, 55, 74, .4)
}

.btn-danger:hover {
  background: var(--red);
  color: #fff
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
  min-height: 54px
}

.btn-block {
  width: 100%
}

/* ---------- form fields ---------- */
.field {
  margin-bottom: 16px
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--forest)
}

.field .hint {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400
}

.input,
.select {
  width: 100%;
  height: 50px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  padding: 0 15px;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--forest);
  background: #fff;
  transition: .15s;
}

.input:focus,
.select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 185, 213, .15);
  outline: none
}

.input::placeholder {
  color: #a9b2b0
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.campo-error {
  display: block;
  color: var(--red);
  font-size: 13px;
  margin-top: 6px
}

/* ---------- alerts ---------- */
.alerta {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  margin-bottom: 22px;
  font-size: 15px
}

.alerta-ok {
  background: rgba(136, 163, 41, .12);
  color: var(--leaf-deep);
  border: 1px solid rgba(136, 163, 41, .3)
}

.alerta-error {
  background: rgba(224, 55, 74, .1);
  color: #b3283a;
  border: 1px solid rgba(224, 55, 74, .3)
}

/* =========================================================
   LOGIN (split)
   ========================================================= */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr
}

.login-aside {
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .6;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(46, 185, 213, .55), transparent 60%),
    radial-gradient(55% 50% at 18% 92%, rgba(136, 163, 41, .4), transparent 60%);
}

.login-aside .l-top,
.login-aside .l-mid,
.login-aside .l-bot {
  position: relative;
  z-index: 2
}

.login-aside img {
  height: 60px
}

.login-aside h2 {
  font-size: clamp(40px, 4vw, 64px);
  color: #fff;
  margin: 14px 0 16px;
  line-height: .95
}

.login-aside p {
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  max-width: 40ch
}

.login-aside .l-bot {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55)
}

.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--wash)
}

.login-card {
  width: 100%;
  max-width: 400px
}

.login-card .mono-logo {
  height: 54px;
  margin: 0 auto 30px;
  display: none
}

.login-card h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 6px
}

.login-card .sub {
  color: var(--muted);
  margin-bottom: 28px
}

.login-captcha {
  margin: 6px 0 18px
}

/* =========================================================
   ADMIN SHELL
   ========================================================= */
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: var(--wash)
}

.sidebar {
  background: var(--forest-800);
  color: rgba(255, 255, 255, .7);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh
}

.sidebar .slogo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 22px
}

.sidebar .slogo img {
  height: 44px
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  transition: .15s
}

.side-nav a svg {
  width: 19px;
  height: 19px;
  opacity: .85;
  flex: none
}

.side-nav a:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff
}

.side-nav a.active {
  background: var(--cyan);
  color: var(--forest-800);
  font-weight: 600
}

.side-foot {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 14px;
  margin-top: 14px
}

.side-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px 12px
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: none
}

.side-user b {
  color: #fff;
  font-size: 14px;
  display: block
}

.side-user span {
  font-size: 12px;
  color: rgba(255, 255, 255, .5)
}

.side-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6)
}

.side-logout:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff
}

.side-logout svg {
  width: 18px;
  height: 18px;
  flex: none
}

.admin-main {
  padding: 30px 34px 60px;
  overflow: auto
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap
}

.admin-top h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px
}

.admin-top p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 2px
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

/* KPIs */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px
}

.kpi .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px
}

.kpi .ic svg {
  width: 22px;
  height: 22px
}

.ic.c-forest {
  background: rgba(36, 71, 76, .1);
  color: var(--forest)
}

.ic.c-cyan {
  background: rgba(46, 185, 213, .14);
  color: var(--cyan-deep)
}

.ic.c-leaf {
  background: rgba(136, 163, 41, .14);
  color: var(--leaf-deep)
}

.ic.c-gold {
  background: rgba(248, 174, 19, .16);
  color: #c07d00
}

.kpi b {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: .9;
  display: block;
  color: var(--forest)
}

.kpi span {
  color: var(--muted);
  font-size: 14px
}

/* ---------- Gráficas del dashboard ---------- */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 30px
}

.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px
}

.chart-card.wide {
  grid-column: span 2
}

.chart-head {
  margin-bottom: 18px
}

.chart-head h3 {
  font-size: 16px;
  color: var(--forest)
}

.chart-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 18px 0
}

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap
}

.donut {
  width: 150px;
  height: 150px;
  flex: none
}

.donut-num {
  font-family: var(--font-display);
  font-size: 26px;
  fill: var(--forest)
}

.donut-lbl {
  font-size: 9px;
  fill: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.donut-legend div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--forest)
}

.donut-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none
}

.donut-legend b {
  margin-left: 4px;
  font-family: var(--font-display);
  font-size: 20px
}

.bars-h {
  display: flex;
  flex-direction: column;
  gap: 13px
}

.bar-h {
  display: grid;
  grid-template-columns: 150px 1fr 40px;
  align-items: center;
  gap: 12px
}

.bar-h-lbl {
  font-size: 13px;
  color: var(--forest);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.bar-h-track {
  background: var(--wash);
  border-radius: 999px;
  height: 12px;
  overflow: hidden
}

.bar-h-fill {
  height: 100%;
  border-radius: 999px;
  min-width: 6px
}

.bar-h-fill.c1 {
  background: var(--cyan)
}

.bar-h-fill.c2 {
  background: var(--leaf)
}

.bar-h-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  text-align: right
}

.bars-v {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 10px;
  height: 180px
}

.bar-v-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1;
  height: 100%
}

.bar-v {
  width: 100%;
  max-width: 46px;
  background: linear-gradient(180deg, var(--gold), #e6a000);
  border-radius: 8px 8px 0 0;
  min-height: 6px
}

.bar-v-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest)
}

.bar-v-lbl {
  font-size: 12px;
  color: var(--muted)
}

@media (max-width:900px) {
  .charts-grid {
    grid-template-columns: 1fr
  }

  .chart-card.wide {
    grid-column: span 1
  }

  .bar-h {
    grid-template-columns: 120px 1fr 34px
  }
}

/* panel + tabla */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 26px
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  gap: 14px;
  flex-wrap: wrap
}

.panel-head h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px
}

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

.search {
  position: relative
}

.search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted)
}

.search input {
  height: 44px;
  width: 280px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  padding: 0 16px 0 40px;
  font-size: 15px;
  font-family: inherit
}

.search input:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 4px rgba(46, 185, 213, .13)
}

.tabla-wrap {
  overflow-x: auto
}

/* ---------- DataTables (tema COLNADE) ---------- */
.panel-dt {
  padding: 20px 24px 24px
}

.dataTables_wrapper {
  font-size: 14px;
  color: var(--forest)
}

.dataTables_filter {
  float: right;
  margin-bottom: 16px
}

.dataTables_filter label {
  color: var(--forest);
  font-weight: 600
}

.dataTables_filter input {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  margin-left: 8px;
  font-size: 14px;
  min-width: 240px;
  outline: none;
  font-family: inherit
}

.dataTables_filter input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 185, 213, .15)
}

.dataTables_length {
  float: left;
  margin-bottom: 16px;
  color: var(--muted)
}

.dataTables_length select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 0 6px;
  font-family: inherit
}

.dataTables_info {
  color: var(--muted);
  font-size: 13px;
  padding-top: 16px
}

.dataTables_paginate {
  padding-top: 12px
}

.dataTables_paginate .paginate_button {
  padding: 7px 13px !important;
  margin: 0 2px !important;
  border-radius: 8px !important;
  cursor: pointer;
  color: var(--forest) !important;
  border: 1px solid var(--line) !important;
  background: #fff !important
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--forest) !important;
  color: #fff !important;
  border-color: var(--forest) !important
}

.dataTables_paginate .paginate_button:hover {
  background: var(--wash) !important;
  border-color: var(--forest) !important
}

.dataTables_paginate .paginate_button.disabled {
  opacity: .4;
  cursor: default
}

table.dataTable thead th {
  cursor: pointer
}

table.dataTable tbody td {
  vertical-align: middle
}

@media (max-width:620px) {

  .dataTables_filter,
  .dataTables_length {
    float: none;
    text-align: left
  }

  .dataTables_filter input {
    min-width: 160px
  }

  .card-form {
    padding: 22px 18px
  }

  .admin-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px
  }

  .admin-actions {
    width: 100%
  }

  .admin-actions .btn {
    flex: 1;
    justify-content: center
  }
}

table {
  width: 100%;
  border-collapse: collapse
}

thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 14px 22px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: middle
}

tbody tr:hover {
  background: var(--wash)
}

tbody tr:last-child td {
  border-bottom: none
}

.tabla-vacia {
  text-align: center;
  color: var(--muted);
  padding: 36px
}

.tp-mono {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--forest);
  font-weight: 600
}

code {
  font-variant-numeric: tabular-nums;
  background: var(--wash);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--forest)
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor
}

.badge-ok {
  background: rgba(136, 163, 41, .14);
  color: var(--leaf-deep)
}

.badge-no {
  background: rgba(224, 55, 74, .12);
  color: var(--red)
}

.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap
}

.row-actions a:not(.act) {
  color: var(--cyan-deep);
  font-weight: 600;
  font-size: 14px
}

.row-actions a:not(.act):hover {
  color: var(--forest)
}

.link-btn {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  padding: 0
}

.link-btn:hover {
  text-decoration: underline
}

/* Botones de acción con icono (listado) */
.act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  line-height: 1;
  transition: .15s;
  text-decoration: none;
  white-space: nowrap
}

.act svg {
  width: 15px;
  height: 15px;
  flex: none
}

.act-cert {
  background: var(--cyan);
  color: var(--forest);
  font-weight: 700
}

.act-cert:hover {
  background: var(--cyan-deep);
  color: #fff;
  transform: translateY(-1px)
}

.act-send {
  background: var(--leaf-deep);
  color: #fff;
  font-weight: 700
}

.act-send:hover {
  background: var(--forest);
  color: #fff;
  transform: translateY(-1px)
}

.act-edit {
  background: var(--wash);
  color: var(--forest);
  border-color: var(--line)
}

.act-edit:hover {
  border-color: var(--forest);
  background: #fff
}

.act-off {
  background: #fff;
  color: var(--red);
  border-color: rgba(224, 55, 74, .35)
}

.act-off:hover {
  background: var(--red);
  color: #fff
}

.act-on {
  background: #fff;
  color: var(--leaf-deep);
  border-color: rgba(136, 163, 41, .4)
}

.act-on:hover {
  background: var(--leaf-deep);
  color: #fff
}

.inline {
  display: inline
}

.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 10px
}

.pager {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.pager a {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--forest)
}

.pager a.on {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest)
}

/* filtros / formularios admin */
.filtros {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
  align-items: center
}

.filtros .input {
  width: 280px;
  height: 44px
}

.filtros .select {
  width: auto;
  height: 44px
}

.card-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 38px;
  max-width: none;
  width: 100%
}

.card-form .btn {
  margin-top: 10px
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px
}

/* resumen de carga */
.resumen-carga {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap
}

.resumen-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 22px;
  font-weight: 600
}

.resumen-item b {
  font-family: var(--font-display);
  font-size: 32px;
  display: block;
  color: var(--forest);
  line-height: 1
}

.resumen-item span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500
}

.resumen-item.err b {
  color: var(--red)
}

.dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  padding: 40px;
  text-align: center;
  transition: .15s
}

.dropzone:hover {
  border-color: var(--cyan)
}

.dropzone .ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px
}

.hint-box {
  background: var(--wash);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted)
}

.hint-box b {
  color: var(--forest)
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:960px) {
  .kpis {
    grid-template-columns: 1fr 1fr
  }

  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr
  }
}

@media (max-width:760px) {
  .login-wrap {
    grid-template-columns: 1fr
  }

  .login-aside {
    display: none
  }

  .login-card .mono-logo {
    display: block
  }

  .admin-shell {
    grid-template-columns: 1fr
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px
  }

  .sidebar .slogo {
    padding: 6px
  }

  .side-nav {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1
  }

  .side-foot {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    display: flex;
    gap: 8px
  }

  .admin-main {
    padding: 24px 18px 50px
  }

  .search input {
    width: 100%
  }

  .kpis {
    grid-template-columns: 1fr
  }
}

/* ---- Modal enviar certificado ---- */
.modal-cert {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 48, 53, .55);
  backdrop-filter: blur(3px)
}

.modal-cert[hidden] {
  display: none
}

.modal-cert__box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  animation: modalCertUp .18s ease
}

@keyframes modalCertUp {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.modal-cert__head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--forest);
  color: #fff;
  padding: 18px 24px
}

.modal-cert__head svg {
  width: 22px;
  height: 22px;
  flex: none
}

.modal-cert__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em
}

.modal-cert__body {
  padding: 22px 24px 4px
}

.modal-cert__eco {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px
}

.modal-cert__body label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 7px
}

.modal-cert__err {
  color: var(--red);
  font-size: 13px;
  margin: 9px 0 0;
  font-weight: 600
}

.modal-cert__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px 22px
}
