/* =========================
   FUENTES
========================= */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Dancing+Script:wght@400..700&family=Pacifico&family=Rubik+Doodle+Shadow&family=Rubik+Mono+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;400;600;700&display=swap');

/* =========================
   BASE GLOBAL (SIN RESET DUPLICADO)
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, 1vw, 18px);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

.ff3 {
    font-family: 'Dancing Script', cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
}
/* =========================
   CONTENEDOR GLOBAL
========================= */
.alert-config {
  display: none;
}
/* =========================
   SECTIONS (BASE DE TU BLOG)
========================= */
section {
  padding: 2rem 3rem;
}
/* Variantes verticales */
.section-y-sm {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.section-y-md {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.section-y-lg {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* =========================
   TIPOGRAFÍA
========================= */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  line-height: 1.6;
}

/* =========================
   LINKS
========================= */
a {
  text-decoration: none;
  color: #222;
  transition: 0.3s ease;
}

a:hover {
  opacity: 1;
}

/* =========================
   IMÁGENES
========================= */
img {
  max-width: 100%;
  display: block;
}

/* =========================
   BOTONES BASE
========================= */
.button {
  display: inline-block;
  background: #2fa0f6;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* =========================
   ACCESIBILIDAD
========================= */
.sr-only {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* =========================
   SELECCIÓN DE TEXTO
========================= */
::selection {
  background: #2fa0f6;
  color: #fff;
}

/* =========================
   SCROLLBAR PERSONALIZADA
========================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #eee;
}

::-webkit-scrollbar-thumb {
  background: #2fa0f6;
  border-radius: 10px;
}

/* =========================
   MEDIA QUERIES
========================= */

/* 📱 Móviles */
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 1.5rem 1rem;
  }
  .section-y-sm {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .section-y-md {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .section-y-lg {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .wrapper {
    padding: 5px 1rem;
  }
  .logo {
    font-size: 18px;
  }
}

/* 📲 Tablets */
@media (min-width: 601px) and (max-width: 800px) {
  html {
    font-size: 15px;
  }

  section {
    padding: 2rem 2rem;
  }
  .section-y-sm {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .section-y-md {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .section-y-lg {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .wrapper {
    padding: 5px 2rem;
  }
  .logo {
    font-size: 19px;
  }
}
@media (min-width: 801px) and (max-width: 900px) {
  html {
    font-size: 16px;
  }

  section {
    padding: 2rem 2.5rem;
  }
  .section-y-sm {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .section-y-md {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .section-y-lg {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .wrapper {
    padding: 6px 2.5rem;
  }
}
@media (min-width: 901px) and (max-width: 1024px) {
  html {
    font-size: 17px;
  }

  section {
    padding: 3rem 3rem;
  }
  .section-y-sm {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .section-y-md {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .section-y-lg {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }
  .wrapper {
    padding: 7px 3rem;
  }
}

/* 💻 Escritorio */
@media (min-width: 1025px) {
  html {
    font-size: 18px;
  }

  section {
    padding: 3rem 4rem;
  }
  .section-y-sm {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .section-y-md {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .section-y-lg {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
  }

  .wrapper {
    padding: 8px 4rem;
  }
}
    /***************************************************/

    /* Botón Volver */
    .btn-back-pro {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border-radius: 999px; 
        padding: 6px 10px;
        border: 1px solid #d1d5db;
        background: #ffffff;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        font-weight: 600;
        color: #111827;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    /* Hover */
    .btn-back-pro:hover {
        border-color: #7c3aed;
        color: #7c3aed;
        background: linear-gradient(135deg, #ffffff, #e5e7eb);
        transform: translateY(-2px);
    }

    /* Icono */
    .btn-back-pro i {
        font-size: 12px;
        opacity: 0.8;
        transition: all 0.25s ease;
    }
    .btn-back-pro span {
      font-size: 14px;
      margin-top: 1px;
    }
    .btn-back-pro:hover i {
        opacity: 1;
        transform: translateX(-4px);
    }

  @media (max-width: 900px) {
    .btn-back-pro span {
        font-size: 13.5px;
        margin-top: 0px;
    }
    .btn-back-pro i {
        font-size: 11.5px;
    }
  }
  @media (max-width: 700px) {
    .btn-back-pro span {
        font-size: 13px;
    }
  }
  @media (max-width: 600px) {
    .btn-back-pro span {
        font-size: 12.5px;
    }
    .btn-back-pro i {
        font-size: 11px;
    }
  }
  @media (max-width: 400px) {
    .btn-back-pro span {
        font-size: 12px;
    }
  }
    /**************************************/
    /* No hay registros AUN */
    .empty-pro-title {
        text-align: center;
        margin-bottom: 15px;
        margin-top:30px;
    }

    .empty-pro-title-text {
        font-size: 22px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 0px;
        letter-spacing: -0.3px;
    }

    .empty-pro-title-line {
        display: block;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #6366f1, #3b82f6);
        margin: 0 auto;
        border-radius: 10px;
    }
    
    .empty-pro-state {
        width: 100%;
        padding: 40px 20px;
        margin-top: 10px;
        border-radius: 20px;
        border: 2px dashed #e5e7eb;
        background: linear-gradient(
            135deg,
            rgba(0,0,0,0.02),
            rgba(0,0,0,0.04)
        );
        text-align: center;
    }

    .empty-pro-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* 🔹 SUBTITULO */
    .empty-pro-subtitle {
        font-size: 18px;
        font-weight: 600;
        color: #1f2937;
    }

    /* 🔹 TEXTO */
    .empty-pro-text {
        font-size: 14px;
        color: #6b7280;
        max-width: 280px; /* 👈 mejora lectura */
    }

    /* ========================= */
    /* EFECTO EMOJI */
    /* ========================= */
    .empty-pro-emoji {
        font-size: 40px;
        display: inline-block;

        /* Animación flotante */
        animation: floatEmoji 3s ease-in-out infinite;

        /* transición para hover */
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    /* Glow suave detrás */
    .empty-pro-emoji::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -8px;

        width: 30px;
        height: 10px;

        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        filter: blur(6px);

        animation: shadowPulse 3s ease-in-out infinite;
    }

    /* Animación flotar */
    @keyframes floatEmoji {
        0% {
            transform: translateY(0px) scale(1);
        }
        50% {
            transform: translateY(-8px) scale(1.05);
        }
        100% {
            transform: translateY(0px) scale(1);
        }
    }

    /* Sombra animada */
    @keyframes shadowPulse {
        0% {
            transform: translateX(-50%) scale(1);
            opacity: 0.4;
        }
        50% {
            transform: translateX(-50%) scale(0.8);
            opacity: 0.2;
        }
        100% {
            transform: translateX(-50%) scale(1);
            opacity: 0.4;
        }
    }

    /* Hover elegante */
    .empty-pro-emoji:hover {
        transform: scale(1.15) rotate(-5deg);
        filter: brightness(1.1);
    }

    /* 📱 RESPONSIVE */
    @media (max-width: 600px) {
        .empty-pro-title-text {
            font-size: 20px;
        }

        .empty-pro-state {
            padding: 25px 15px;
        }

        .empty-pro-emoji {
            font-size: 32px;
        }

        .empty-pro-subtitle {
            font-size: 16px;
        }
    }

    /**************************************************/
    /* No Existe PRO */
    .no-existe-pro {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 50px 20px;
    }

    /* Caja interna */
    .no-existe-box {
        max-width: 420px;
        width: 100%;
        padding: 35px 25px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        text-align: center;
        transition: all 0.25s ease;
    }

    /* Efecto hover sutil */
    .no-existe-box:hover {
        transform: translateY(-3px);
    }

    /* Icono */
    .no-existe-box .no-existe-icon {
        font-size: 42px;
        margin-bottom: 10px;
    }

    /* Título */
    .no-existe-box .no-existe-title {
        font-size: 20px;
        font-weight: 600;
        color: #111827;
        margin-bottom: 8px;
    }

    /* Texto */
    .no-existe-box .no-existe-text {
        font-size: 14px;
        color: #6b7280;
        line-height: 1.5;
    }

    /* Responsive */
    @media (max-width: 600px) {
        .no-existe-box {
            padding: 25px 18px;
        }

        .no-existe-box .no-existe-title {
            font-size: 18px;
        }

        .no-existe-box .no-existe-text {
            font-size: 13px;
        }

        .no-existe-box .no-existe-icon {
            font-size: 34px;
        }
    }


/* BOTÓN BASE */
.security-dot {
    border: none;
    background: transparent; /* 👈 quitamos fondo */
    cursor: pointer;
    padding: 0;
}

/* ICONO */
.security-dot i {
    font-size: 13px;
    color: #d50000;
    transition: all 0.2s ease;
}

/* HOVER */
.security-dot:hover i {
    font-size: 15px;
}

/* ACTIVO (verde) */
.security-dot.active i {
    color: #00c853;
}

.logo-container {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px; /* 👈 separación limpia entre texto y dot */
}

/* 🔹 HEADER (más pequeño) */
.dot-header i {
    font-size: 5px;
    cursor: default;
}

/* hover más suave en header */
.dot-header:hover i {
    font-size: 10px;
}

/* opcional: desactivar interacción */
.dot-header {
    pointer-events: none;
}