/* Botón flotante aún más grande y con brillos animados al pasar el cursor */
.btn-flotante-grande {
    width: 140px;
    height: 140px;
    font-size: 5.2rem;
    box-shadow: 0 16px 48px rgba(251,255,20,0.38), 0 4px 18px rgba(0,0,0,0.20);
    border: 4px solid #222;
    background: linear-gradient(135deg, #fbff14 80%, #ffe066 100%);
    animation: pulse-flotante 1.2s infinite alternate;
    outline: none;
    transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: visible;
}
.btn-flotante-grande::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(251,255,20,0.12) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.18s, transform 0.18s;
    z-index: 1;
}
.btn-flotante-grande:hover {
    background: linear-gradient(135deg, #ffe066 80%, #fbff14 100%);
    transform: scale(1.22) rotate(-8deg);
    box-shadow: 0 28px 80px rgba(251,255,20,0.55), 0 10px 32px rgba(0,0,0,0.28);
}
.btn-flotante-grande:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18);
    animation: brillo-flotante 0.8s linear infinite alternate;
}
@keyframes pulse-flotante {
    0% { box-shadow: 0 16px 48px rgba(251,255,20,0.38), 0 4px 18px rgba(0,0,0,0.20); }
    100% { box-shadow: 0 32px 80px rgba(251,255,20,0.60), 0 12px 40px rgba(0,0,0,0.32); }
}
@keyframes brillo-flotante {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}
@keyframes pulse-flotante {
    0% { box-shadow: 0 12px 40px rgba(251,255,20,0.35), 0 2px 16px rgba(0,0,0,0.18); }
    100% { box-shadow: 0 24px 60px rgba(251,255,20,0.55), 0 8px 32px rgba(0,0,0,0.28); }
}
/* Botón flotante para crear ronda */
.btn-flotante {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fbff14;
    color: #222;
    font-size: 2.6rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    border: 2.5px solid #222;
    transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
    outline: none;
}
.btn-flotante:hover {
    background: #ffe066;
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 10px 32px rgba(0,0,0,0.22);
    cursor: pointer;
}
/* CSS para el módulo de cuentas */
main {
    background: #fffbe6;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
.alert-info {
    background: #e6f7ff;
    color: #222;
    border: 1px solid #b3e6ff;
}

/* Estilos compactos y mini para la grilla de selección rápida */

/* NUEVO ESTILO MODERNO Y LEGIBLE PARA LA GRILLA RÁPIDA Y TABLA */
.seleccion-rapida-card, .seleccion-rapida-mini {
    min-height: 120px;
    font-size: 1rem;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1.5px solid #bbb;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.seleccion-rapida-card:hover, .seleccion-rapida-mini:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-color: #ffe066;
}
.img-rapida, .img-rapida-mini {
    max-width: 48px;
    max-height: 48px;
    margin: 6px auto 8px auto;
    display: block;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.nombre-rapida, .nombre-rapida-mini {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.precio-rapida, .stock-rapida, .precio-rapida-mini, .stock-rapida-mini {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 4px;
}
.btn-rapida, .btn-rapida-mini {
    font-size: 1rem;
    padding: 4px 12px;
    border-radius: 6px;
}
.cantidad-rapida, .cantidad-rapida-mini {
    width: 48px !important;
    font-size: 1rem !important;
    padding: 4px 6px !important;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Tabla de productos seleccionados */
table.tabla-compacta {
    font-size: 1rem;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 10px;
    overflow: hidden;
}
table.tabla-compacta th {
    background: #ffe066;
    color: #222;
    font-weight: 600;
    padding: 8px 6px !important;
    border: none;
}
table.tabla-compacta td {
    background: #fff;
    color: #222;
    padding: 8px 6px !important;
    border: none;
    vertical-align: middle;
}
table.tabla-compacta tr {
    border-bottom: 1px solid #eee;
}
button.btn-danger {
    background: #ff4d4f;
    color: #fff;
    border-radius: 6px;
    border: none;
    padding: 4px 12px;
    font-size: 1rem;
    transition: background 0.2s;
}
button.btn-danger:hover {
    background: #d9363e;
}

/* Fix visual para acordeón Bootstrap */
.accordion-collapse.collapse {
    transition: height 0.35s ease;
    overflow: hidden;
}
