/* ========== BASE ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #111827;
    color: #e5e7eb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #f59e0b;
}

/* ========== LAYOUT ========== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========== TIPOGRAFÍA ========== */

.font-rpg {
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}

/* ========== HEADER ========== */

.main-header {
    background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
    border-bottom: 2px solid #b45309;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 0.5rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.header-logo {
    font-family: 'VT323', monospace;
    font-size: 2.8rem;
    color: #fbbf24;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
    transition: text-shadow 0.3s;
    line-height: 1;
}

.header-logo:hover {
    text-shadow: 0 0 25px rgba(251, 191, 36, 0.9);
}

/* Navegación izquierda */
.header-nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav-left a {
    color: #d1d5db;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.header-nav-left a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s;
}

.header-nav-left a:hover {
    color: #fbbf24;
}

.header-nav-left a:hover::after {
    width: 100%;
}

/* Bloque derecho */
.header-nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Carrito */
.cart-link {
    position: relative;
    color: #d1d5db;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.cart-link:hover {
    color: #fbbf24;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b45309;
    animation: pulse 2s infinite;
}

/* Botones login/register */
.btn-login {
    color: #d1d5db;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn-login:hover {
    color: #fbbf24;
    background: rgba(180, 83, 9, 0.1);
}

.btn-register {
    background: linear-gradient(135deg, #b45309, #d97706);
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
    transition: all 0.2s;
}

.btn-register:hover {
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
    transform: translateY(-1px);
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ========== DROPDOWN ========== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    background: rgba(180, 83, 9, 0.1);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.dropdown-toggle:hover {
    background: rgba(180, 83, 9, 0.2);
    border-color: #b45309;
}

.dropdown-toggle .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dropdown-toggle .arrow {
    transition: transform 0.3s;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.dropdown.open .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: #1e293b;
    border: 2px solid #b45309;
    border-radius: 0.75rem;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    z-index: 200;
    overflow: hidden;
}

.dropdown-menu.open {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #0f172a;
    color: #fbbf24;
    border-left-color: #fbbf24;
}

.dropdown-divider {
    border-top: 1px solid #334155;
    margin: 0.25rem 0;
}

.logout-link {
    color: #f87171;
}

.logout-link:hover {
    color: #ef4444;
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    border-bottom: 1px solid rgba(180,83,9,0.2);
    overflow: visible;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(180,83,9,0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(251,191,36,0.06) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(251,191,36,0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(180,83,9,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* ========== CONTENIDO MAIN ========== */

main {
    flex: 1;
    padding: 2rem 0;
}

/* ========== MENSAJES FLASH ========== */

.flash-message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.flash-success {
    background-color: rgba(6, 95, 70, 0.5);
    border: 1px solid #047857;
    color: #d1fae5;
}

.flash-error {
    background-color: rgba(127, 29, 29, 0.5);
    border: 1px solid #b91c1c;
    color: #fee2e2;
}

/* ========== CARDS ========== */

.stat-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid #b45309;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
        
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(180, 83, 9, 0.2);
}
        
.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
        
.stat-number {
    font-family: 'VT323', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}
        
.stat-label {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
        
.stat-desc {
    color: #94a3b8;
    font-size: 0.9rem;
}
        
.feature-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: #b45309;
    box-shadow: 0 4px 20px rgba(180,83,9,0.15);
}

.card {
    background-color: #1f2937;
    border: 1px solid #b45309;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 0 20px rgba(180, 83, 9, 0.25);
}

.card-title {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #9ca3af;
    line-height: 1.5;
}

/* ========== BOTONES ========== */

.btn {
    display: inline-block;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #b45309;
    color: #ffff;
    border-color: #d97706;
}

.btn-primary:hover {
    background-color: #d97706;
}

.btn-secondary {
    background-color: #374151;
    color: #e5e7eb;
    border-color: #4b5563;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-danger {
    background-color: #7f1d1d;
    color: #ffff;
    border-color: #b91c1c;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-success {
    background-color: #065f46;
    color: #ffff;
    border-color: #047857;
}

.btn-success:hover {
    background-color: #047857;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* ========== FORMULARIOS ========== */

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    background-color: #374151;
    border: 1px solid #b45309;
    border-radius: 0.5rem;
    color: #e5e7eb;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #fbbf24;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========== TABLAS ========== */

.table-container {
    overflow-x: auto;
    border: 1px solid #b45309;
    border-radius: 0.5rem;
    width: 100%;
}

.table-container table {
    width: 100%;
    min-width: 600px;
    table-layout: auto;
}



th {
    background-color: rgba(180, 83, 9, 0.25);
    color: #fbbf24;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #374151;
    color: #d1d5db;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(55, 65, 81, 0.5);
}

/* ========== GRID ========== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.detalle-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 1fr;
    gap: 2rem;
}

/* ========== BADGES ========== */

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-primario {
    background-color: #b45309;
    color: #ffff;
}

.badge-exito {
    background-color: #065f46;
    color: #ffff;
}

.badge-peligro {
    background-color: #7f1d1d;
    color: #ffff;
}

.badge-secundario {
    background-color: #4b5563;
    color: #ffff;
}

/* ========== CARRUSEL ========== */

.carousel {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 2px solid #b45309;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

/* Pista que se desplaza */
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Cada diapositiva ocupa el 100% del ancho */
.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    pointer-events: none;
}

.carousel-slide.active {
    pointer-events: auto;
}

.carousel h2 {
    font-family: 'VT323', monospace;
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.carousel p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* Puntos de navegación */
.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: #fbbf24;
}

/* ========== ADMIN ========== */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background-color: #1f2937;
    border-right: 2px solid #b45309;
    padding: 1.5rem;
    flex-shrink: 0;
}

.admin-sidebar h2 {
    font-family: 'VT323', monospace;
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 2rem;
}

.admin-sidebar nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: #d1d5db;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    transition: background-color 0.2s;
}

.admin-sidebar nav a:hover {
    background-color: #b45309;
    color: #ffff;
}

.admin-content {
    flex: 1;
    padding: 2rem;
}

/* ========== ANIMACIONES ========== */

/* Animación de aparición suave */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animación de pulso para botones */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Animación de flotación */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Animación de brillo */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
    50% { text-shadow: 0 0 25px rgba(251, 191, 36, 0.9), 0 0 50px rgba(251, 191, 36, 0.4); }
}

/* Animación para el carrusel */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Clases de animación */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Retrasos para animaciones en secuencia */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }

/* Partículas decorativas */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fbbf24;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
}

/* Carrusel*/
.carousel-slide.active {
    animation: slideIn 0.6s ease-out;
}

/* Efecto hover en tarjetas */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(180, 83, 9, 0.3);
}

/* Contador animado */
@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
.count-animate {
    animation: countUp 0.6s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 300px;
  max-width: 450px;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  background-color: #1f2937;
  border: 1px solid #b45309;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  color: #e5e7eb;
  font-weight: 500;
  animation: slideInRight 0.4s ease-out, fadeOut 0.4s ease-in 4.6s forwards;
}

.toast-success {
  border-left: 4px solid #10b981;
}
.toast-error {
  border-left: 4px solid #ef4444;
}
.toast-info {
  border-left: 4px solid #fbbf24;
}

.toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.5rem;
  margin-left: 1rem;
}
.toast-close:hover {
  color: #fbbf24;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ========== DATATABLES ========== */

.dataTables_wrapper {
    font-family: 'Inter', sans-serif;
    color: #e5e7eb;
}

.dataTables_length select {
    background-color: #0f172a;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 0.357rem;
    padding: 0.3rem 0.5rem;
}

.dataTables_filter input {
    background: #0f172a;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 0.375rem;
    padding: 0.3rem 0.5rem;
}

table.dataTable {
    border-collapse: collapse;
    width: 100%;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    overflow: hidden;
}

table.dataTable thead th {
    background: rgba(180, 83, 9, 0.2);
    color: #fbbf24;
    font-weight: 600;
    border-bottom: 2px solid #b45309;
    padding: 0.75rem 1rem;
}

table.dataTable tbody td {
    color: #d1d5db;
    border-bottom: 1px solid #374151;
    padding: 0.75rem 1rem;
}

table.dataTable tbody tr:hover td {
    background: rgba(55, 65, 81, 0.5);
}

.dataTables_paginate .paginate_button {
    background: #1e293b;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 0.375rem;
    padding: 0.3rem 0.6rem;
    margin: 0 0.2rem;
}

.dataTables_paginate .paginate_button.current {
    background: #b45309;
    color: white;
    border-color: #d97706;
}

.dataTables_info {
    color: #94a3b8;
}

/* ========== IMÁGENES ========== /*

/* Logo */

.logo-img {
    height: 3.5rem;
    width: auto;
    display: block;
}

/* ========== MISC ========== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

/* ========== RESPONSIVE MEDIA QUERY ========== */
@media screen and (max-width: 768px) {
    
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    *, *::before, *::after {
        box-sizing: border-box;
    }

    body main .container, body .container {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
        box-sizing: border-box;
        overflow: hidden;
    }

    body header.main-header {
        height: auto;
        padding: 1rem 0;
    }

    body header.main-header .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    body header.main-header .header-logo {
        display: flex;
        font-size: 2.2rem;
        text-align: center;
        justify-content: center;
        margin: 0 auto;
    }

    body header.main-header .header-nav-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    body header.main-header .header-nav-left a:not(.header-logo) {
        display: none; 
    }

    body header.main-header .header-nav-right {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }

    body header.main-header .dropdown-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        min-width: 260px;
        position: absolute;
    }

    body header.main-header .dropdown-menu a.cursos-link, body header.main-header .dropdown-menu a:first-child {
        font-weight: bold;
        color: #fbbf24;
        background: rgba(180, 83, 9, 0.15);
        border-bottom: 1px solid #b45309;
    }

    body main .container .grid-3, .grid-3 {
        display: block !important; 
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    body main .container .grid-3 .stat-card, body main .container .grid-3 .feature-card, body main .container .grid-3 .card, .stat-card, .feature-card, .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100% !important; 
        flex: none !important;   
        min-width: 0; 
        padding: 2rem 1.25rem; 
        margin: 0 0 1.5rem 0; 
        box-sizing: border-box;
        border-radius: 0.75rem;
    }

    /* ========== TEXTOS SEGUROS ========== */
    body main .container .stat-number, body main .container .card-title, body main .container .carousel h2, .stat-number, .card-title {
        font-size: 2.2rem; 
        line-height: 1.2;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: keep-all; 
        text-align: center;
        margin-bottom: 0.5rem;
    }

    body main .container .stat-label, body main .container .stat-desc, body main .container .card-text, body main .container .carousel p, .stat-label, .stat-desc, .card-text {
        font-size: 1rem;
        line-height: 1.5;
        white-space: normal;
        word-break: normal;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    body main .container .stat-icon, .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* ========== CARRUSEL ========== */
    body main .container .carousel, .carousel {
        height: auto;
        min-height: 220px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    body main .container .carousel .carousel-slide, .carousel-slide {
        padding: 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* GRID */
    .detalle-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Checkout para el móvil */
    .paso.hidden {
        display: none;
    }

    /* Panel de instructor */
    .panel-cursos-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling:
    }

    .panel-cursos-tabla {
        min-width: 800px;
        font-size: 0.85rem;
    }

    .panel-cursos-tabla th, .panel-cursos-tabla td {
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
    }

    .panel-cursos-tabla th:nth-child(5), .panel-cursos-tabla td:nth-child(5) {
        display: none;
    }
}