@charset "UTF-8";
/* ============================================================ 
PROYECTO: Front SCSS Responsive
ARCHIVO:     front_responsive.scss
MÓDULO:      Front Responsivo

ROL: LAYOUT / STRUCTURE
INFORMACIO: No borrar estos comentarios ⚠️

Este archivo SOLO controla la estructura:
- Tamaños generales
- Flex / Grid
- Posiciones
- Márgenes base
- Sidebar / Header / Content
- Fullscreen

⚠️ NO incluir aquí:
- Colores
- Sombras
- Glow
- Estilos decorativos

Todo eso va en front.scss
============================================================ */
/* ============================================================ 
PROYECTO: Front SCSS Responsive - ADAPTACIÓN FIEL DE LA WEB
============================================================ */
@media (max-width: 900px) {
  /* 1. Wrapper: El contenedor de todo */
  .morenox-wrapper {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Separación uniforme entre piezas */
    padding-bottom: 20px;
  }
  /* 2. Header: Sin ladrillos y alineado */
  .mor-header {
    width: 92% !important;
    max-width: 92% !important;
    margin: 10px auto 0 auto !important;
    height: 50px !important;
    background: rgba(20, 20, 20, 0.45) !important;
    backdrop-filter: blur(35px) saturate(140%);
    -webkit-backdrop-filter: blur(35px) saturate(140%);
    border: 1px solid rgba(255, 152, 0, 0.4) !important; /* Borde fino naranja */
    border-radius: 12px;
    overflow: visible; /* Para que el menú no se corte */
  }
  .mor-header-container {
    width: 100%;
    height: 100%;
    padding: 0 15px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  /* 3. Logo: Ajustado para que no estorbe */
  .mor-logo {
    width: 135px !important;
    height: 30px !important;
    background-image: url("/assets/img/m.png"), url("/assets/img/mor.webp");
    background-repeat: no-repeat, no-repeat;
    background-size: 28px auto, 85px auto !important;
    background-position: 0px center, 32px center !important;
    flex-shrink: 0;
  }
  /* 4. HAMBURGUESA: ADIÓS AL LADRILLO NARANJA */
  .mor-hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 5px !important; /* Espacio entre las 3 rayas */
    width: 40px !important;
    height: 40px !important;
    background: transparent !important; /* Transparencia total */
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
  }
  /* Las rayitas solas */
  .mor-hamburger span {
    background-color: #ff9800 !important;
    height: 3px !important;
    width: 24px !important;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  /* 5. MENÚ DENTRO DE HAMBURGUESA (HORIZONTAL) */
  /* CONTENEDOR */
  .mor-menu-wrapper {
    /* OCULTO POR DEFECTO */
    display: none !important;
    position: absolute;
    top: 100%; /* debajo del header */
    left: 4%;
    right: 4%;
    width: 92%;
    margin: 6px auto;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
    border-radius: 12px;
    border: 1px solid rgba(255, 152, 0, 0.25);
    padding: 10px 12px;
    z-index: 2000;
    /* FLEX */
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    overflow-x: auto;
  }
  /* CUANDO SE ABRE */
  .mor-menu-wrapper.open {
    display: flex !important;
  }
  /* ===== UL INTERNO ===== */
  .mor-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  /* ===== ITEMS ===== */
  .mor-menu li {
    width: auto !important;
  }
  /* ===== LINKS ===== */
  .mor-menu-wrapper a {
    display: inline-flex !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 6px 10px;
    border-radius: 6px;
  }
  /* 6. Body y Footer: Todos al mismo ancho (92%) */
  .mor-body {
    width: 92% !important;
    max-width: 92% !important;
    margin: 0 auto !important;
    background: rgba(30, 30, 30, 0.4) !important;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  .mor-footer {
    width: 92% !important;
    margin: 10px auto !important;
    padding: 15px 0 !important;
    border-top: 1px solid rgba(255, 152, 0, 0.2);
    text-align: center;
  }
  /* ================= LOGIN MODAL - MÓVIL ACTIVADO SOLO CON BOTÓN ================= */
  /* Contenedor del modal */
  #loginModal {
    display: none; /* oculto por defecto */
    justify-content: center;
    align-items: center;
    padding: 0 15px; /* espacio lateral “que corra el aire” */
    height: auto; /* no ocupa toda la pantalla si el contenido es pequeño */
  }
  /* Solo visible cuando se pulsa login */
  #loginModal.show {
    display: flex !important;
  }
  #loginModal .modal-content {
    width: auto; /* ancho automático según su contenido */
    max-width: 300px; /* máximo ancho en móvil */
    min-width: 220px; /* opcional, que no se haga ridículo */
    padding: 16px 12px;
    border-radius: 16px;
    background: #1a1a1a;
    border: 2px solid #ff9800;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.5), 0 0 25px rgba(0, 242, 255, 0.15), 0 15px 25px rgba(0, 0, 0, 0.6);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: modalFadeIn 0.4s ease-out;
  }
  #loginModal h2 {
    font-size: 1.3em;
    color: #00f2ff;
    margin-bottom: 12px;
    text-shadow: 0 0 8px #00f2ff;
  }
  #loginModal form {
    display: flex;
    flex-direction: column; /* inputs y botón vertical */
    gap: 8px;
  }
  #loginModal input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #121212;
    color: #fff;
    font-size: 0.9em;
    transition: all 0.25s ease;
  }
  #loginModal input:focus {
    border-color: #ff9800;
    box-shadow: 0 0 6px #ff9800;
    outline: none;
  }
  #loginModal button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #ff9800, #ffc107);
    color: #121212;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  #loginModal button:hover {
    opacity: 0.85;
    transform: scale(1.02);
  }
  #loginModal .error-message {
    color: #ff5722;
    font-size: 0.85em;
    margin-top: 0.3rem;
  }
}
/* ================= LOGIN MODAL RESPONSIVE MÓVIL ================= */
@media (max-width: 600px) {
  #loginModal {
    padding: 0 20px; /* espacio lateral “que corra el aire” */
  }
  #loginModal .container-box {
    width: 100%; /* que no limite */
    display: flex;
    justify-content: center;
  }
  #loginModal .modal-content {
    width: 100%; /* ocupa lo que pueda dentro de container-box */
    max-width: 300px; /* máximo ancho deseado */
    min-width: 220px; /* opcional */
    padding: 16px 12px;
    box-sizing: border-box; /* importante para que padding no rompa */
  }
}

/*# sourceMappingURL=front_responsive.css.map */
