/* Header Compacto */
.text-glow {
    text-shadow: 0 0 15px rgba(var(--brand-rgb, 249, 115, 22), 0.3);
}

.glass-card-header {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
}

/* BOTONES COMMAND COMPACTOS */
.btn-command {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.85rem;
    background: white;
    border: 1.5px solid #f3f4f6;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dark .btn-command {
    background: #0f172a;
    border-color: #1e293b;
}

.btn-command:hover {
    transform: translateY(-2px);
    border-color: var(--brand, #f97316);
}

.btn-command-icon {
    font-size: 1rem;
}

.btn-command-text {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.active-all {
    border-color: #111827;
    background: #111827 !important;
}

.active-blue {
    border-color: #2563eb;
    background: #2563eb !important;
}

.active-orange {
    border-color: var(--brand, #f97316);
    background: var(--brand, #f97316) !important;
}

    .active-all .btn-command-text, .active-blue .btn-command-text, .active-orange .btn-command-text {
        color: white;
    }

/* BUSCADOR HARDWARE CENTRADO */
.search-icon-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.25rem;
    display: flex;
    align-items: center;
    z-index: 20;
    color: #9ca3af;
}

.search-hardware-input {
    width: 100%;
    padding: 0.8rem 1.5rem 0.8rem 3.5rem;
    background: white;
    border: 1.5px solid #f3f4f6;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.dark .search-hardware-input {
    background: #0f172a;
    border-color: #1e293b;
    color: white;
}

.search-hardware-input:focus {
    outline: none;
    border-color: var(--brand, #f97316);
}

.search-hardware-glow {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 1.5px solid var(--brand, #f97316);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(var(--brand-rgb, 249, 115, 22), 0.15);
}

.search-hardware-input:focus + .search-hardware-glow {
    opacity: 1;
}

/* CARDS COMPACTAS */
.tutorial-details-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #f3f4f6;
    border-radius: 1.25rem;
    transition: all 0.4s ease;
}

.dark .tutorial-details-card {
    border-color: #1e293b;
}

.folder-icon-container {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand, #f97316);
    border: 1px solid rgba(var(--brand-rgb, 249, 115, 22), 0.2);
}

.step-badge-small {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.4rem;
    background: var(--brand, #f97316);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.7rem;
}

.video-wrapper-mini {
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid #f3f4f6;
    background: black;
}

.dark .video-wrapper-mini {
    border-color: #1e293b;
}

.video-wrapper-mini iframe {
    width: 100%;
    height: 100%;
}

.tutorial-image-preview-mini {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
}

.dark .tutorial-image-preview-mini {
    border-color: #1e293b;
}

.btn-manual-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #111827;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 900;
    font-style: italic;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.dark .btn-manual-mini {
    background: white;
    color: #111827;
}

.btn-manual-mini:hover {
    background: var(--brand, #f97316) !important;
    color: white !important;
}


/* Estilos adicionales para Detalle.cshtml */

/* Contenedor de pasos con hover */
.step-item-premium {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .step-item-premium:hover {
        background: rgba(var(--brand-rgb, 249, 115, 22), 0.05);
        border-color: rgba(var(--brand-rgb, 249, 115, 22), 0.2);
        transform: translateX(10px);
    }

/* Badge de paso con brillo */
.step-badge {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #111827;
    color: var(--brand, #f97316);
    border: 2px solid var(--brand, #f97316);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-style: italic;
    box-shadow: 0 0 15px rgba(var(--brand-rgb, 249, 115, 22), 0.2);
    transition: all 0.3s ease;
}

.dark .step-badge {
    background: var(--brand, #f97316);
    color: white;
}

.step-item-premium:hover .step-badge {
    transform: rotate(-12deg) scale(1.1);
    box-shadow: 0 0 25px rgba(var(--brand-rgb, 249, 115, 22), 0.4);
}

/* Animación de entrada */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* Barra de Acción Inferior */
.action-bar-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    z-index: 1000;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.05);
}

.dark .action-bar-fixed {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Botón Guardar Minimalista */
.btn-save-refined {
    background: #000;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dark .btn-save-refined {
    background: #f97316; /* Naranja sólido en dark para que resalte */
}

.btn-save-refined:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--brand-shadow, rgba(249, 115, 22, 0.3));
}

/* Notificación de éxito compacta */
.toast-success-mini {
    background: #22c55e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

/* Líneas Metálicas con Aura */
.metal-line {
    height: 3px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Definición de Auras por Nivel */
.line-bronce {
    background: #cd7f32;
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.4);
}

.line-plata {
    background: #9ca3af;
    box-shadow: 0 4px 20px rgba(156, 163, 175, 0.4);
}

.line-oro {
    background: #fbbf24;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.line-platino {
    background: #6366f1;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* Efecto de Card Premium al Hover */
.card-fidelizacion {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1.5rem;
}

    .card-fidelizacion:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-color: rgba(var(--brand-rgb, 249, 115, 22), 0.2);
    }

/* Inputs Refinados */
.input-premium-fidelizacion {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.6rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dark .input-premium-fidelizacion {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.user-avatar-placeholder {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    border-radius: 12px;
}



