.carousel-item img {
    width: 100%;
    object-fit: contain;
    padding-top: 6.9vh;
}


/* Game Grid */
.game-grid {
    margin-top: 20px;
}

.game-item {
    margin-bottom: 30px;

}


.game-item a.game-card {
    display: block;
    /* Hace que el enlace ocupe todo el espacio del card */
    text-decoration: none;
    /* Sin subrayado */
    color: inherit;
    /* Mantiene el color del texto */
    cursor: pointer;
    /* Cambia el cursor al pasar por encima */
}

.game-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    text-align: center;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    user-select: none;
}

.game-card:hover {
    transform: scale(1.05);
    /* Aumenta ligeramente el tamaño */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Sombra suave */
}

.game-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

@media (max-width: 768px) {
    .game-image {
        width: 100%;
        height: 11rem;
        object-fit: cover;
    }
}

.coin-icon {
    width: 1.3rem;
    /* Ajusta según sea necesario */
    height: 1.3rem;
    /* Ajusta según sea necesario */
    vertical-align: middle;
    /* Alinea verticalmente con el texto */
    margin-right: 3px;
    /* Espacio entre la imagen y el texto */
}

.price-label {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgb(255, 255, 255);
    color: rgb(139, 0, 151);
    padding: 2px 2px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    width: 3.5rem;
}

.movements-label {
    position: absolute;
    top: 118px;
    right: 10px;
    background: rgb(139, 0, 151);
    color: rgb(255, 255, 255);
    padding: 2px 2px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;    /* Centrado horizontal */
    width: 2rem;
    text-align: center; 
}

.game-info {
    padding: 10px;
    text-align: left;
}

.game-description {
    font-size: 16px;
    margin: 10px 0;
    white-space: nowrap;       /* Evita que el texto se divida en varias líneas */
    overflow: hidden;          /* Oculta el texto que exceda el ancho */
    text-overflow: ellipsis;   /* Agrega los puntos suspensivos */
    width: 15rem; 
}

.game-status {
    display: inline-block;
    border-radius: 3px;
    font-size: 14px;
}

.disponible {
    color: #23d523;
    font-weight: 700;
}

.reposicion {
    color: #ff8000;
    font-weight: 700;
}

.uso {
    color: #591a65;
    font-weight: 700;
}
.no-disponible {
    color: #464646;
    font-weight: 700;
}



/* Estilos para el badge VIP */
.vip-badge-game-list {
    position: absolute;
    top: 10rem;
    left: 0.5rem;
    background: linear-gradient(45deg, #3427df, #ba34f1, #fc45ff);
    color: #fff;
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Efecto de brillo animado */
.vip-badge-game-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 25%,
        rgba(255, 241, 255, 0.4) 50%,
        transparent 75%
    );
    animation: vip-shine 5s linear infinite;
}

@keyframes vip-shine {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(150%); }
}

/* Asegura la legibilidad del texto */
.vip-badge-game-list span {
    position: relative;
    z-index: 2;
}

/* Media Queries */
@media (min-width: 100px) {
    .row {
        display: block;
    }

    .game-item a.game-card {
        width: 13rem;
    }
    .movements-label {
        top: 124px;
    }
    .game-description {
        width: 10rem; 
    }
    .vip-badge-game-list {
        top: 6rem;
    }
}

@media (min-width: 320px) {

    /* Vertical Screen Phones */
    /* Estilos específicos para dispositivos con ancho mínimo de 320px */
    
    .game-image {
        height: 16rem;
    }
    .game-item a.game-card {
        width: 21rem;
        /* margin: 1rem 4rem 1rem 4rem; */
    }
    .movements-label {
        top: 124px;
    }

}

@media (min-width: 375px) {

    /* iPhone 6 / 6S */
    /* Estilos específicos para dispositivos con ancho mínimo de 375px */
    .game-image {
        height: 8rem;
    }
    .game-item a.game-card {
        width: 11rem;
        margin-left: 5rem;
        margin-right: 5rem;
    }
    .movements-label {
        top: 96px;
    }
}

@media (min-width: 414px) {
    /* iPhone 7 / 7 Plus, iPhone 8 / 8 Plus, Nexus 6P */
    /* Estilos específicos para dispositivos con ancho mínimo de 414px */
}

@media (min-width: 480px) {

    /* Horizontal/Landscape Screen Phones */
    /* Estilos específicos para dispositivos con ancho mínimo de 480px */
    .game-image {
        height: 9rem;
    }
    .row {
        display: flex;
    }
    .movements-label {
        top: 112px;
    }
}
@media (max-width: 576px) {
    .carousel-inner {
        max-height: 2000px; /* Ajusta este valor según tus necesidades */
    }
    .carousel-indicators {
        display: none;
    }
}

@media (min-width: 600px) {

    /* Tablets and Vertical iPads */
    /* Estilos específicos para dispositivos con ancho mínimo de 600px */
    .game-image {
        height: 10rem;
    }
    .game-item a.game-card {
        width: 13rem;
        margin-left: 5rem;
        margin-right: 5rem;
    }
    .movements-label {
        top: 124px;
    }
    .game-description {
        width: 11rem; 
    }
    
}
@media (min-width: 700px) {
    .game-image {
        height: 10rem;
    }
    .game-item a.game-card {
        width: 13rem;
        margin-left: 1rem;
        margin-right: 5rem;
    }
    .movements-label {
        top: 124px;
    }
    .game-description {
        width: 12rem; 
    }
}
@media (min-width: 768px) {

    /* iPad Mini */
    /* Estilos específicos para dispositivos con ancho mínimo de 768px */
    .carousel-item img {
        padding-top: 5.9vh;
        /*ipad mini*/
    }

    .carousel-item img {
        object-fit: contain;
    }
    .game-item a.game-card {
        width: 11rem;
        margin-left: 0rem;
        margin-right: -1rem;
    }
    .game-image {
        height: 8rem;
    }
    .movements-label {
        top: 96px;
    }
    .game-description {
        width: 10rem; 
    }
}

@media (min-width: 800px) {

    /* Tablet, Horizontal/Landscape iPads, low-resolution Laptops */
    /* Estilos específicos para dispositivos con ancho mínimo de 801px */
    .carousel-item img {
        padding-top: 3.8rem;
    }

    

    .carousel-item img {
        padding-top: 4.9vh;
    }

    /*.game-image .game-item a.game-card  con estos 2 se aumenta el tamaño de la card*/
    .game-image {
        height: 9rem;
    }
    .game-item a.game-card {
        width: 11rem;
        margin-left: 0;
        margin-right: 0;
    }
    .movements-label {
        top: 112px;
    }

    .vip-badge-game-list {
        top: 7rem;
    }
    
}

@media (min-width: 1024px) {

    /* iPad Pro */
    /* Estilos específicos para dispositivos con ancho mínimo de 1024px */
    .carousel-item img {
        padding-top: 3.9vh;
    }

    .game-image {
        height: 9.5rem;
    }
    .game-item a.game-card {
        width: 13rem;
    }
    .movements-label {
        top: 118px;
    }
    .game-description {
        width: 11rem; 
    }
    .vip-badge-game-list {
        top: 7.5rem;
    }
}

@media (min-width: 1280px) {

    /* Pixel C, Samsung Galaxy Tab 10 */
    /* Estilos específicos para dispositivos con ancho mínimo de 1280px */
    .game-image {
        height: 12rem;
    }
    .game-item a.game-card {
        width: 16rem;
    }
    .movements-label {
        top: 158px;
    }
    .game-description {
        width: 15rem; 
    }
    .vip-badge-game-list {
        top: 10rem;
    }
}

@media (min-width: 1300px) {
    /* Laptops and Desktops */
    /* Estilos específicos para dispositivos con ancho mínimo de 1281px */
    .game-image {
        height: 12rem;
    }
    .game-item a.game-card {
        width: 16rem;
    }
    .movements-label {
        top: 158px;
    }
}

/*TABLA SUPERIOR*/

.salas-status-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.salas-status-header {
    background-color: #f4f4f4;
    font-weight: bold;
}

.salas-status-row {
    border: 1px solid #ddd;
}

.salas-status-cell {
    padding: 8px;
    text-align: left;
}

.salas-status-combo {
    width: 100%;
    padding: 4px;
}
