/* ============================================================
   nocaja.css — FacturaIslay ERP 2026
   Pantalla "Caja no aperturada" — diseño minimalista SaaS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --nc-navy:    #0D1B2A;
  --nc-blue:    #0091FF;
  --nc-blue-dk: #007de0;
  --nc-gray:    #6B7280;
  --nc-gray-lt: #9CA3AF;
  --nc-bg:      #F2F4F7;
  --nc-surface: #ffffff;
  --nc-radius:  10px;
  --nc-shadow:  0 4px 20px rgba(0, 145, 255, 0.22);
}

/* Fondo de página cuando se muestra el bloqueo */
.content-wrapper.panel-medio-principal {
  background-color: var(--nc-bg) !important;
}

/* ── Contenedor principal ── */
.sc-nocaja-wrap {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  min-height: min(72vh, 640px);
  box-sizing: border-box;
  background: transparent;
}

/* ── Ilustración ── */
.sc-nocaja-ilu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 180px;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.sc-nocaja-ilu-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 145, 255, 0.14) 0%, rgba(0, 145, 255, 0.04) 70%, transparent 100%);
  pointer-events: none;
}

.sc-nocaja-ilu-circle {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f4ff 0%, #dceeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 145, 255, 0.12);
}

.sc-nocaja-ilu-icon {
  font-size: 56px;
  color: var(--nc-blue);
  opacity: 0.85;
}

.sc-nocaja-plus {
  position: absolute;
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 145, 255, 0.35);
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}

.sc-nocaja-plus1 { top: 12px;  left: 14px; }
.sc-nocaja-plus2 { top: 8px;   right: 10px; font-size: 14px; }
.sc-nocaja-plus3 { bottom: 18px; left: 20px; font-size: 12px; }
.sc-nocaja-plus4 { bottom: 14px; right: 16px; font-size: 13px; }

/* ── Saludo ── */
.sc-nocaja-saludo {
  font-size: 28px;
  font-weight: 800;
  color: var(--nc-navy);
  margin: 0 0 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sc-nocaja-wave {
  display: inline-block;
  font-style: normal;
  font-weight: 400;
}

/* ── Mensaje ── */
.sc-nocaja-msg {
  font-size: 15px;
  font-weight: 400;
  color: var(--nc-gray);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 420px;
}

.sc-nocaja-msg strong {
  color: var(--nc-blue);
  font-weight: 700;
}

/* ── Divisor decorativo ── */
.sc-nocaja-divider {
  width: 48px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: var(--nc-blue);
  margin: 0 0 28px;
  opacity: 0.75;
}

/* ── Botón principal ── */
.sc-nocaja-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--nc-blue);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--nc-radius);
  text-decoration: none !important;
  box-shadow: var(--nc-shadow);
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  margin-bottom: 24px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.sc-nocaja-btn i {
  font-size: 15px;
}

.sc-nocaja-btn:hover,
.sc-nocaja-btn:focus {
  background: var(--nc-blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 145, 255, 0.32);
  text-decoration: none !important;
  color: #fff !important;
}

/* ── Nota inferior ── */
.sc-nocaja-footnote {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--nc-gray-lt);
  margin: 0;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 380px;
}

.sc-nocaja-footnote i {
  font-size: 11px;
  opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .sc-nocaja-wrap {
    padding: 32px 20px 40px;
    min-height: auto;
  }

  .sc-nocaja-ilu {
    width: 170px;
    height: 155px;
    margin-bottom: 24px;
  }

  .sc-nocaja-ilu-circle {
    width: 110px;
    height: 110px;
  }

  .sc-nocaja-ilu-icon {
    font-size: 46px;
  }

  .sc-nocaja-saludo {
    font-size: 22px;
  }

  .sc-nocaja-msg {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .sc-nocaja-btn {
    font-size: 14px;
    padding: 14px 28px;
    width: 100%;
    max-width: 300px;
  }

  .sc-nocaja-footnote {
    font-size: 11.5px;
    flex-direction: column;
    gap: 4px;
  }
}
