body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prohibido el scroll horizontal */
    display: block;    /* Que los elementos no se pongan en fila por defecto */
}

.app-container {
    width: 100vw;
    min-height: 100vh;
}
body { background-color: #0f0f17; color: white; font-family: 'Segoe UI', sans-serif; margin: 0; display: flex; justify-content: center; min-height: 100vh; overflow-x: hidden; }
.app-container { width: 100%; max-width: 500px; padding: 25px; box-sizing: border-box; display: flex; flex-direction: column; min-height: 100vh; padding-bottom: 110px; }
.logo-app {
    width: 80%;          /* Que ocupe casi todo el ancho del contenedor */
    max-width: 300px;    /* Pero que no se desparrame en tablets o PC */
    height: auto;
    display: block;
    margin: 0 auto 30px; /* Centrado y con buen espacio debajo */
    filter: drop-shadow(0 0 15px rgba(204, 255, 0, 0.3)); /* Un toque de brillo neón opcional */
}
.highlight { color: #ccff00; }
.header-dashboard-centered { display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid #333; margin-bottom: 25px; padding-bottom: 20px; text-align: center; }
.platform-name-big { font-size: 2.6rem; color: #ccff00; letter-spacing: 5px; font-weight: 900; text-shadow: 0 0 15px rgba(204, 255, 0, 0.4); }
.group-name-header { font-size: 0.9rem; color: #fff; font-weight: 800; margin-top: 8px; text-transform: uppercase; letter-spacing: 2px; }
.nav-bar-bottom { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    z-index: 100; 
    box-sizing: border-box;
    background: linear-gradient(0deg, #0f0f17 90%, transparent);
    
    /* Mantenemos tus 20px a los lados y arriba, pero ampliamos abajo */
    padding: 20px 20px 40px 20px; 
    
    /* Esta línea ajusta el hueco automáticamente en iPhones y Android modernos */
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); 
}.btn-back-main { background: #ccff00; color: #000; width: 100%; max-width: 450px; padding: 20px; border: none; border-radius: 20px; font-weight: 900; font-size: 1.1rem; cursor: pointer; }
.calendar-header-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; width: 100%; }
.btn-mes-nav { background: #1a1a24; border: 1px solid #333; color: #ccff00; padding: 10px 15px; border-radius: 10px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-weight: bold; }
.day-cell { background: #1a1a24; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #333; cursor: pointer; }
.confirmado-ensayo { border: 2px solid #ccff00 !important; color: #ccff00; }
.confirmado-bolo { border: 2px solid #ff0055 !important; color: #ff0055; }
.menu-grid { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.menu-card { background: #1a1a24; border: 2px solid #ccff00; padding: 25px; border-radius: 20px; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.btn-principal-solido { background-color: #ccff00; color: #000; width: 100%; border: none; padding: 20px; font-size: 1.1rem; font-weight: 800; border-radius: 18px; text-transform: uppercase; }
.btn-secundario { 
    background: transparent; 
    color: #fff;             /* Texto blanco para que resalte */
    border: 1px solid #777;  /* Borde gris claro visible */
    width: 100%; 
    padding: 12px;           /* Más estilizado */
    border-radius: 15px; 
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secundario:hover {
    border-color: #fff;      /* Al pasar el ratón se ilumina */
    background: rgba(255,255,255,0.05);
}
.btn-eliminar { background: rgba(255, 0, 85, 0.1); color: #ff0055; border: 1px solid #ff0055; width: 100%; padding: 18px; border-radius: 15px; font-weight: bold; }
.cancion-item-orden { background: #1a1a24; border: 1px solid #333; padding: 18px; border-radius: 18px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.pro-upgrade-card { background: linear-gradient(135deg, #1a1a24, #0f0f17); border: 2px dashed #ccff00; padding: 25px; border-radius: 20px; position: relative; overflow: hidden; text-align: center; }
.pro-badge { position: absolute; top: 10px; right: -25px; background: #ccff00; color: #000; font-size: 0.6rem; font-weight: 900; padding: 5px 30px; transform: rotate(45deg); }
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.95); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000; 
    padding: 15px; 
    box-sizing: border-box;
}
.modal-content { 
    background: #1a1a24; 
    width: 100%; 
    max-width: 420px; 
    max-height: 80vh; 
    padding: 20px; 
    border-radius: 25px; 
    border: 2px solid #ccff00; 
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden; /* Blindaje contra la mordida lateral */
    box-sizing: border-box;
    position: relative;
    text-align: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content > * {
    flex-shrink: 0;
    margin-bottom: 12px;
}

.modal-content::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}
input, select { background: #0f0f17; border: 1px solid #333; color: white; padding: 18px; border-radius: 15px; font-size: 1rem; width: 100%; box-sizing: border-box; }
.btn-secundario-solido { 
    background-color: #1a1a24; 
    color: #ccff00; 
    width: 100%; 
    border: 2px solid #ccff00; 
    padding: 20px; 
    font-size: 1.1rem; 
    font-weight: 800; 
    border-radius: 18px; 
    margin-top: 15px; 
    cursor: pointer; 
    text-transform: uppercase; 
}
.btn-salir-top { 
    background: #333; 
    color: #aaa; 
    border: none; 
    padding: 6px 15px; 
    border-radius: 10px; 
    font-size: 0.7rem; 
    margin-top: 15px; 
    cursor: pointer;
}
.card-admin { 
    border-color: #00e5ff !important; 
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); 
}
.miembro-item { 
    background: #1a1a24; 
    padding: 15px; 
    border-radius: 12px; 
    margin-bottom: 8px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border: 1px solid #333;
}

.propuesta-card { 
    background: #1a1a24; 
    padding: 18px; 
    border-radius: 15px; 
    margin-bottom: 12px; 
    border-left: 5px solid #ccff00;
    text-align: left;
}

.propuesta-card small {
    display: block;
    margin-top: 8px;
    color: #666;
}
.pildora-cancion {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    border: 1px solid #444;
    transition: all 0.2s;
}

.pildora-cancion:hover {
    background: #ccff00;
    color: #000;
    border-color: #ccff00;
}

#lista-setlist-ordenado {
    min-height: 100px;
    background: #0a0a0a;
}
/* Ocultar scrollbar pero mantener funcionalidad */
#lista-selector-bandas::-webkit-scrollbar {
    display: none;
}
#lista-selector-bandas {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Estilos para las banderitas - SIEMPRE VISIBLES */
/* Ocultamos las banderas de todo el proyecto */
.lang-toggle-container {
    display: none !important;
}

.btn-lang {
    width: 35px;
    height: auto;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-lang:hover {
    transform: scale(1.2);
}

.btn-lang {
    background: none;
    border: none;
    cursor: pointer;
    width: 35px; /* Tamaño controlado */
    transition: transform 0.2s;
}

.btn-lang:hover {
    transform: scale(1.2);
}

.btn-lang {
    width: 34px; /* Más pequeñas y elegantes */
    height: 34px;
    border-radius: 50%;
    border: 2px solid #333;
    background: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden; /* Clave para que el SVG sea circular */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.btn-lang svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estado Activo: Brillo verde GigPulse */
.btn-lang.active {
    border-color: #ccff00;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.6);
    transform: scale(1.1);
}
/* Para que las tarjetas de la lista también brillen en azul cuando sean oficiales */
.bolo-confirmado-total {
    border-left: 6px solid #00e5ff !important;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}
.grecaptcha-badge {
    visibility: hidden !important;
}