/* _content/RutaTurismo360.Web/App.razor.rz.scp.css */
/* Pantalla de inicialización global de la aplicación */
.app-initializing[b-n9f9w0e8ki] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.init-container[b-n9f9w0e8ki] {
    text-align: center;
    color: white;
}

.init-spinner[b-n9f9w0e8ki] {
    width: 70px;
    height: 70px;
    margin: 0 auto 28px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: init-spin-b-n9f9w0e8ki 0.9s linear infinite;
}

@keyframes init-spin-b-n9f9w0e8ki {
    to { transform: rotate(360deg); }
}

.init-container p[b-n9f9w0e8ki] {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    animation: init-pulse-b-n9f9w0e8ki 1.5s ease-in-out infinite;
}

@keyframes init-pulse-b-n9f9w0e8ki {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(0.98);
    }
}
/* _content/RutaTurismo360.Web/Components/Shared/KpiSectionToggle.razor.rz.scp.css */
/* ============================================
   KPI SECTION TOGGLE - Componente de Toggle
   ============================================ */

.kpi-toggle-container[b-h72fgokcnw] {
    user-select: none;
    cursor: pointer;
}

.kpi-toggle-container:hover[b-h72fgokcnw] {
    opacity: 0.85;
}
/* _content/RutaTurismo360.Web/Components/Shared/LanguageSelector.razor.rz.scp.css */
/* Contenedor principal del selector */
.language-selector-container[b-yhuctvcm8g] {
    position: relative;
    display: inline-block;
}

/* Botón principal que muestra el idioma actual */
.language-selector-button[b-yhuctvcm8g] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-selector-button:hover[b-yhuctvcm8g] {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.language-selector-button:active[b-yhuctvcm8g] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-flag[b-yhuctvcm8g] {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
  padding-bottom: 8px;
}

.language-selector-button:hover .current-flag[b-yhuctvcm8g] {
    transform: scale(1.1);
}

.current-language[b-yhuctvcm8g] {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--rz-text-color);
}

/* Menú desplegable horizontal */
.language-dropdown-menu[b-yhuctvcm8g] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: flex;
    gap: 6px;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(16px);
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    animation: slideDown-b-yhuctvcm8g 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown-b-yhuctvcm8g {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Opciones de idioma en el dropdown */
.language-option[b-yhuctvcm8g] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px !important;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent !important;
    position: relative;
    overflow: hidden;
}

.language-option[b-yhuctvcm8g]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.language-option:hover[b-yhuctvcm8g]::before {
    opacity: 1;
}

.language-option:hover[b-yhuctvcm8g] {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.language-option.active[b-yhuctvcm8g] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2)) !important;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.language-option.active[b-yhuctvcm8g]::before {
    opacity: 0;
}

.language-option .flag[b-yhuctvcm8g] {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}

.language-option:hover .flag[b-yhuctvcm8g] {
    transform: scale(1.15);
}

.language-option .language-code[b-yhuctvcm8g] {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.language-option .check-icon[b-yhuctvcm8g] {
    color: #22c55e;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.5));
    animation: checkBounce-b-yhuctvcm8g 0.3s ease;
}

@keyframes checkBounce-b-yhuctvcm8g {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive: en móviles ajustar el dropdown */
@media (max-width: 768px) {
    .language-selector-button[b-yhuctvcm8g] {
        padding: 6px 10px !important;
    }

    .current-flag[b-yhuctvcm8g] {
        font-size: 1.3rem;
    }

    .current-language[b-yhuctvcm8g] {
        font-size: 0.8rem;
    }

    .language-dropdown-menu[b-yhuctvcm8g] {
        flex-direction: column;
        min-width: 140px;
        right: 0;
        left: auto;
    }

    .language-option[b-yhuctvcm8g] {
        padding: 12px 14px !important;
        justify-content: space-between;
    }

    .language-option .flag[b-yhuctvcm8g] {
        font-size: 1.5rem;
    }

    .language-option .language-code[b-yhuctvcm8g] {
        font-size: 0.8rem;
        flex: 1;
    }
}

/* _content/RutaTurismo360.Web/Components/Shared/Logo.razor.rz.scp.css */
.logo-large[b-2ghjwnonqk] {
  width: 320px;
  height: auto;
  max-width: 100%;
  animation: slideInDown-b-2ghjwnonqk 0.6s ease-out;
  transition: opacity 0.3s ease;
}

.logo-medium[b-2ghjwnonqk] {
  width: 220px;
  height: auto;
  max-width: 100%;
  animation: slideInLeft-b-2ghjwnonqk 0.6s ease-out;
  transition: opacity 0.3s ease;
}

.logo-small[b-2ghjwnonqk] {
  width: 80px;
  height: auto;
  max-width: 100%;
  transition: opacity 0.3s ease;
}

@keyframes slideInDown-b-2ghjwnonqk {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft-b-2ghjwnonqk {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* _content/RutaTurismo360.Web/Components/Shared/ThemeToggle.razor.rz.scp.css */
.theme-toggle-btn[b-rbepy8adat] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    padding: 0;
}

.theme-toggle-btn:hover[b-rbepy8adat] {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05) rotate(10deg);
}

.theme-toggle-btn i[b-rbepy8adat] {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.theme-toggle-btn:active[b-rbepy8adat] {
    transform: scale(0.95);
}

/* Ajuste responsive */
@media (max-width: 768px) {
    .theme-toggle-btn[b-rbepy8adat] {
        width: 40px;
        height: 40px;
    }

    .theme-toggle-btn i[b-rbepy8adat] {
        font-size: 20px;
    }
}
/* _content/RutaTurismo360.Web/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-lxo16pw4p1] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-lxo16pw4p1] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-lxo16pw4p1] {
    font-size: 1.1rem;
}

.oi[b-lxo16pw4p1] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-lxo16pw4p1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-lxo16pw4p1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-lxo16pw4p1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-lxo16pw4p1]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-lxo16pw4p1]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-lxo16pw4p1]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-menu[b-lxo16pw4p1] {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.nav-menu[b-lxo16pw4p1] {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Elementos del men� */

.nav-item[b-lxo16pw4p1],
.nav-item-parent[b-lxo16pw4p1] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    margin: 4px 0;
}

.nav-item:hover[b-lxo16pw4p1],
.nav-item-parent:hover[b-lxo16pw4p1] {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.nav-item.active[b-lxo16pw4p1],
.nav-item-parent.active[b-lxo16pw4p1] {
    background-color: rgba(102, 126, 234, 0.3);
    border-left-color: #667eea;
    color: #ffffff;
    font-weight: 600;
}

.nav-icon[b-lxo16pw4p1] {
    font-size: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.nav-icon.material-icons[b-lxo16pw4p1] {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

.nav-text[b-lxo16pw4p1] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-arrow[b-lxo16pw4p1] {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.nav-arrow.expanded[b-lxo16pw4p1] {
    transform: rotate(90deg);
}

/* Submen� */

.nav-group[b-lxo16pw4p1] {
    margin: 4px 0;
}

.nav-submenu[b-lxo16pw4p1] {
    max-height: 500px;
    overflow: hidden;
    animation: expandSubmenu-b-lxo16pw4p1 0.3s ease-out forwards;
}

.nav-subitem[b-lxo16pw4p1] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 52px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-size: 13px;
}

.nav-subitem:hover[b-lxo16pw4p1] {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.nav-subitem.active[b-lxo16pw4p1] {
    background-color: rgba(255, 255, 255, 0.12);
    border-left-color: #fff;
    color: white;
    font-weight: 500;
}

.nav-subitem .nav-icon[b-lxo16pw4p1] {
    width: 20px;
    font-size: 16px;
}

/* Animaci�n */

@keyframes expandSubmenu-b-lxo16pw4p1 {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

/* Scroll en men� */

.sidebar-menu[b-lxo16pw4p1]::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu[b-lxo16pw4p1]::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu[b-lxo16pw4p1]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-menu[b-lxo16pw4p1]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* M�vil - Men� abierto */
/* IMPORTANTE: Esta media query debe estar ANTES de las reglas de collapsed 
   para que las reglas de m�vil tengan prioridad */

@media (max-width: 768px) {
    .sidebar-menu[b-lxo16pw4p1] {
        padding: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .nav-menu[b-lxo16pw4p1] {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .nav-item[b-lxo16pw4p1],
    .nav-item-parent[b-lxo16pw4p1] {
        padding: 14px 16px;
        margin: 2px 0;
    }

    .nav-subitem[b-lxo16pw4p1] {
        padding: 12px 16px 12px 52px;
    }

    .nav-icon[b-lxo16pw4p1] {
        width: 24px;
        font-size: 18px;
    }

    .nav-text[b-lxo16pw4p1] {
        font-size: 15px;
    }

    /* CR�TICO: En m�vil SIEMPRE mostrar textos, incluso si collapsed */
    :global(.app-sidebar.collapsed) .nav-text[b-lxo16pw4p1],
    :global(.app-sidebar.collapsed) .nav-arrow[b-lxo16pw4p1] {
        display: block !important;
    }

    :global(.app-sidebar.collapsed) .nav-item[b-lxo16pw4p1],
    :global(.app-sidebar.collapsed) .nav-item-parent[b-lxo16pw4p1] {
        justify-content: flex-start !important;
        padding: 14px 16px !important;
        gap: 12px !important;
    }

    :global(.app-sidebar.collapsed) .nav-icon[b-lxo16pw4p1] {
        width: 24px !important;
        margin: 0 !important;
    }

    :global(.app-sidebar.collapsed) .nav-submenu[b-lxo16pw4p1] {
        display: block !important;
    }
}

/* Estilo cuando el sidebar est� colapsado (SOLO DESKTOP) */
/* Esta regla se aplica solo cuando NO est� en m�vil */

@media (min-width: 769px) {
    :global(.app-sidebar.collapsed) .nav-text[b-lxo16pw4p1],
    :global(.app-sidebar.collapsed) .nav-arrow[b-lxo16pw4p1] {
        display: none;
    }

    :global(.app-sidebar.collapsed) .nav-item[b-lxo16pw4p1],
    :global(.app-sidebar.collapsed) .nav-item-parent[b-lxo16pw4p1] {
        justify-content: center;
        padding: 12px;
    }

    :global(.app-sidebar.collapsed) .nav-icon[b-lxo16pw4p1] {
        width: 100%;
        margin: 0;
    }
}

/* Links activos de Blazor */

:deep(.nav-link)[b-lxo16pw4p1] {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    width: 100%;
    margin: 4px 0;
}

:deep(.nav-link:hover)[b-lxo16pw4p1] {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

:deep(.nav-link.active)[b-lxo16pw4p1] {
    background-color: rgba(102, 126, 234, 0.3);
    border-left-color: #667eea;
    color: #ffffff;
    font-weight: 600;
}

/* �conos dentro de nav-link */

:deep(.nav-link .nav-icon)[b-lxo16pw4p1] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

/* Texto dentro de nav-link */

:deep(.nav-link .nav-text)[b-lxo16pw4p1] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
