* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Fredoka One', cursive !important;
    font-size: 1rem;
    overflow: hidden;
    color:#535560;
}

.logo {
    max-width: 250px !important;
}

.bg-gradient-bingo {
    background-color: #FF99CC;
    background-image: linear-gradient(180deg, rgb(255, 204, 255) 10%, rgb(255, 153, 204) 100%);
    background-size: cover;
}

.bg-gradient-bingo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg-1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: blur(5px); 
    z-index: -1; 
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image: linear-gradient(180deg, rgb(255, 183, 77) 10%, rgb(255, 153, 204) 100%);
    z-index:999999; 
}

.canvas {
    position:absolute;
    margin:auto;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
}

.progress-bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.progress {
    height: 100%;
    width: 0;
    background-color: #ff9800;
    border-radius: 5px 0 0 5px;
}

.loading-percentage {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
}

.container-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-bottom: 75px;
}

.top-section, .center-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.start-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-section {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    height: 220px;
    max-height: 220px;
    background: rgb(66,197,247);
    background: linear-gradient(0deg, rgba(66,197,247,1) 0%, rgba(20,86,247,1) 100%);
    border-radius: 0px 0px 50px 50px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    padding-top: 10px;
}

.bottom-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    max-height: 70px;
}

.board-section {
    flex: 1;
    height: calc(92vh - 256px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.board-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.board-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.board-section::-webkit-scrollbar-button:increment,.board-section::-webkit-scrollbar-button {
    display: none !important;
} 

.board-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.board-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.board-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.content-board {
    display: grid;
    grid-gap: 5px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(1, 1fr);
}

.cartons-section {
    flex: 1;
    height: calc(100vh - 256px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.cartons-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.cartons-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.cartons-section::-webkit-scrollbar-button:increment,.cartons-section::-webkit-scrollbar-button {
    display: none !important;
} 

.cartons-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.cartons-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.cartons-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.game-section {
    flex: 1;
    height: calc(96vh - 90px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.game-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.game-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.game-section::-webkit-scrollbar-button:increment,.game-section::-webkit-scrollbar-button {
    display: none !important;
} 

.game-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.game-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.game-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.content-cartons {
    display: grid;
    grid-gap: 5px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(5, 1fr);
}

.one-carton, .two-cartons, .three-cartons, .four-cartons  {
    display: grid;
    grid-gap: 5px;
    margin: auto;
}

.bingo-border-carton {
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

.bingo-carton {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background-color: #fff;
    border-radius: 15px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
}

.bingo-carton-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 5px;
    transition: transform 0.3s ease;
    width: 35px;
    height: 35px;
}

.bingo-carton-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffe1d8;
    font-size: 1.2vw;
    font-weight: bold;
    color: #535560;
    border-radius: 5px;
    transition: transform 0.3s ease;
    width: 35px;
    height: 35px;
}

.marked {
    background-color: #FF7900;
    color: #ffffff;
}

.modality {
    background-color: #FF7900 !important;
    color: #ffffff;
}

.move-number {
    animation: moveBallTowards .5s ease-out forwards;
}

@keyframes moveBallTowards {
    0% {
        transform: translateY(-50px) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.column {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 5px;
}

.container-cartons-modalities {
    display: grid;
    grid-gap: 5px;
    justify-content: center;
    margin: auto;
}

.border-carton {
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.carton {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(6, 1fr); 
    gap: 5px;
    background-color: #fff;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 130px;
}

.card-letter {
    display: flex;
    justify-content: center;
    border-radius: 3px;
    font-size: .6rem; 
    width: 14px; 
    height: 14px;
}

.card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffb098;
    font-weight: bold;
    color: #303030;
    border-radius: 3px;
    font-size: .6rem; 
    width: 14px; 
    height: 14px;
    transition: transform 0.3s ease;
}

.card-number:hover {
    background-color: #00ba71;
    color: #ffffff;
    transform: scale(1.1);
    cursor: pointer;
}

.form-bingo {
    border: 6px solid #ff9800;
    border-radius: 50px;
    font-size: 1rem;
    padding: 10px 20px;
    width: 90%;
    margin: auto;
}

.form-bingo:focus {
    color: #6e707e;
    background-color: #fff;
    border-color: #ff9800;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(255, 152, 0, .25);
}

.form-label {
    font-size: .9rem;
    margin-bottom: 0;
    padding-left: 20px;
    width: 90%;
    margin: auto;
    display: block;
}

small.text-danger {
    font-size: .8rem;
    margin-bottom: 0;
    padding-left: 20px;
    width: 90%;
    margin: auto;
    display: block;
}

.btn {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.btn-home {
    position: fixed;
    left: 10px;
    top: 10px;
    background: linear-gradient(145deg, #fa5c93, #FF1C00);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-home:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-home:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-home i {
    transition: transform 0.3s ease-in-out;
}

.btn-home:hover i {
    transform: scale(1.3);
}

.btn {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.btn-profile {
    position: fixed;
    left: 10px;
    top: 10px;
    background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-profile img {
    width: 3.5rem;        
    height: 3.5rem;       
    border-radius: 50%;
    object-fit: cover;  
    border: 3px solid #fff; 
}

.btn-profile:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-profile:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-wallet {
    position: fixed;
    left: 70px;
    top: 10px;
    background: linear-gradient(145deg, #22cbe6, #0d6efd);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-wallet:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-wallet:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-wallet i {
    transition: transform 0.3s ease-in-out;
}

.btn-wallet:hover i {
    transform: scale(1.3);
}

.btn-handheld {
    position: fixed;
    left: 10px;
    top: 70px;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-handheld:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-handheld:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-handheld i {
    transition: transform 0.3s ease-in-out;
}

.btn-handheld:hover i {
    transform: scale(1.3);
}

.btn-sliders {
    position: fixed;
    right: 10px;
    top: 10px;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-sliders:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-sliders:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-sliders i {
    transition: transform 0.3s ease-in-out;
}

.btn-sliders:hover i {
    transform: scale(1.3);
}

.btn-volume {
    position: fixed;
    right: 70px;
    top: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-volume:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-volume:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-volume i {
    transition: transform 0.3s ease-in-out;
}

.btn-volume:hover i {
    transform: scale(1.3);
}

.btn-microphone {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-microphone:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-microphone:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-microphone i {
    transition: transform 0.3s ease-in-out;
}

.btn-microphone:hover i {
    transform: scale(1.3);
}

.btn-user {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-user:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-user:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-user i {
    transition: transform 0.3s ease-in-out;
}

.btn-user:hover i {
    transform: scale(1.3);
}

.btn-lock {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-lock:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-lock:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-lock i {
    transition: transform 0.3s ease-in-out;
}

.btn-lock:hover i {
    transform: scale(1.3);
}

.btn-binary {
    position: fixed;
    right: 15px;
    top: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-binary:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-binary:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-binary i {
    transition: transform 0.3s ease-in-out;
}

.btn-binary:hover i {
    transform: scale(1.3);
}

.btn-logout {
    position: fixed;
    right: 15px;
    top: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #181C32, #131628);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-logout:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-logout:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-logout i {
    transition: transform 0.3s ease-in-out;
}

.btn-logout:hover i {
    transform: scale(1.3);
}

.btn-game {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-game:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-game:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-game i {
    transition: transform 0.3s ease-in-out;
}

.btn-game:hover i {
    transform: scale(1.3);
}

.btn-gear {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(145deg, #fa5c93, #FF1C00);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-gear:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-gear:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-gear i {
    transition: transform 0.3s ease-in-out;
}

.btn-gear:hover i {
    transform: scale(1.3);
}

.btn-board {
    font-size: 1rem;
    background: linear-gradient(145deg, #77DDFF, #55AAFF);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-board:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-board:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-board i {
    transition: transform 0.3s ease-in-out;
}

.btn-board:hover i {
    transform: scale(1.3);
}

.btn-award {
    font-size: 1rem;
    background: linear-gradient(145deg, #77DDFF, #55AAFF);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-award:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-award:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-award i {
    transition: transform 0.3s ease-in-out;
}

.btn-award:hover i {
    transform: scale(1.3);
}

.btn-cells {
    font-size: 1rem;
    background: linear-gradient(145deg, #FBD60D, #FFE869);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-cells:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-cells:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-cells i {
    transition: transform 0.3s ease-in-out;
}

.btn-cells:hover i {
    transform: scale(1.3);
}

.btn-chat {
    position: fixed;
    left: 15px;
    bottom: 15px;
    background: linear-gradient(145deg, #22cbe6, #0d6efd);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-chat:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-chat:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-chat i {
    transition: transform 0.3s ease-in-out;
}

.btn-chat:hover i {
    color: #ffffff;
    transform: scale(1.3);
    animation: bounce 0.6s ease-in-out infinite alternate;
}

.count_notifications {
    position: absolute;
    left: 100%;
    transform: translate(-50%, -50%);
    background-color: red;
    color: white;
    font-size: .8rem;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-award {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-bingooo {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 150px;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(45deg, #ff4081, #ff80ab);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-bingooo:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-bingooo:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-bingo {
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    color: #ffffff;
    border-radius: 50px;
    padding: 14px;
    font-size: 1rem;
    box-shadow: 6px 6px 15px rgba(255, 152, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-bingo:hover {
    background-color: #FFC064;
}

.btn-bingo.focus,.btn-bingo:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.btn-bingo.disabled,.btn-bingo:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#ff9800
}

.btn-bingo:active {
    box-shadow: 0px 0px 10px rgba(255, 152, 0, 0.2), 0px 0px 20px rgba(255, 152, 0, 0.3);
    transform: translateY(4px);
}

.btn-bingo:hover {
    color: #ffffff;
    animation: pulse-icon 0.5s ease-in-out;
    box-shadow: 0px 0px 10px rgba(255, 152, 0, 0.2), 0px 0px 20px rgba(255, 152, 0, 0.3);
    transform: scale(1.05);
}

.btn-bingo:not(:disabled):not(.disabled).active,.btn-bingo:not(:disabled):not(.disabled):active,.show>.btn-bingo.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#ff9800
}

.btn-bingo:not(:disabled):not(.disabled).active:focus,.btn-bingo:not(:disabled):not(.disabled):active:focus,.show>.btn-bingo.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 152, 0,.5)
}

.btn-primary:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-primary:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-primary i {
    transition: transform 0.3s ease-in-out;
}

.btn-primary:hover i {
    transform: scale(1.3);
}

.btn-minus {
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    color: #ffffff;
    border-radius: 50px 0 0 50px;
    border: none;
    width: 50px;
    height: 56px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3); 
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-minus:hover {
    animation: pulse-icon 0.5s ease-in-out;
    box-shadow: 0px 0px 10px rgba(255, 152, 0, 0.2), 0px 0px 20px rgba(255, 152, 0, 0.3);
    transform: scale(1.05);
}

.btn-minus.disabled,.btn-minus:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#ff9800
}

.btn-minus:not(:disabled):not(.disabled).active,.btn-minus:not(:disabled):not(.disabled):active,.show>.btn-minus.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#ff9800
}

.btn-minus:not(:disabled):not(.disabled).active:focus,.btn-minus:not(:disabled):not(.disabled):active:focus,.show>.btn-minus.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.btn-plus {
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    color: #ffffff;
    border-radius: 0 50px 50px 0;
    border: none;
    width: 50px;
    height: 56px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plus:hover {
    animation: pulse-icon 0.5s ease-in-out;
    box-shadow: 0px 0px 10px rgba(255, 152, 0, 0.2), 0px 0px 20px rgba(255, 152, 0, 0.3);
    transform: scale(1.05);
}

.btn-plus.disabled,.btn-plus:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#ff9800
}

.btn-plus:not(:disabled):not(.disabled).active,.btn-plus:not(:disabled):not(.disabled):active,.show>.btn-plus.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#ff9800
}

.btn-plus:not(:disabled):not(.disabled).active:focus,.btn-plus:not(:disabled):not(.disabled):active:focus,.show>.btn-plus.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.w-90 {
    width: 90%!important;
    margin: auto;
}

.profile-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f1f1f1; 
    background: linear-gradient(145deg, #FF66C4, #ff9800);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.logo-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f1f1f1; 
    background: linear-gradient(145deg, #FF66C4, #ff9800);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.edit-button {
    position: relative;
    top: -50px;
    left: -40px;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    border: none;
    color: #fff;
    border-radius: 50%;
    padding: 4px 7px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.edit-button:hover {
    background-color: #FFC064; 
    transform: scale(1.1);
}

.edit-button.focus,.edit-button:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.edit-button.disabled,.edit-button:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#ff9800
}

.edit-button:not(:disabled):not(.disabled).active,.edit-button:not(:disabled):not(.disabled):active,.show>.edit-button.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#ff9800
}

.edit-button:not(:disabled):not(.disabled).active:focus,.edit-button:not(:disabled):not(.disabled):active:focus,.show>.edit-button.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f1f1f1;
    background: linear-gradient(145deg, #FF66C4, #ff9800);
}

.profile-button {
    position: absolute;
    top: -1px;
    right: -10px;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    border: none;
    color: #fff;
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
    font-size: 8px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.row {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

.help-block {
    font-size: .8rem;
}

.modal-content {
    border: none;
    background-color: #ffe0b2; 
    border-radius: 30px; 
    box-shadow: -6px -6px 20px rgba(255, 224, 178, 0.5), 6px 6px 20px rgba(255, 224, 178, 0.5), inset 0px 0px 100px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-bottom: 0px solid #e3e6f0 !important;
}

.modal-title {
    font-weight: 300;
    font-size: 1.2rem;
}

.modal-footer {
    border-top: 0px solid #e3e6f0 !important;
}

.btn-close {
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    border: none;
    border-radius: 50%;
    padding: 5px 9px;
    cursor: pointer;
    font-size: .8rem;
    line-height: 1;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-close:hover {
    background-color: #FFC064;
    transform: scale(1.1);
}

.btn-close.focus,.btn-close:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.btn-close.disabled,.btn-close:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#ff9800
}

.btn-close:not(:disabled):not(.disabled).active,.btn-close:not(:disabled):not(.disabled):active,.show>.btn-close.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#ff9800
}

.btn-close:not(:disabled):not(.disabled).active:focus,.btn-close:not(:disabled):not(.disabled):active:focus,.show>.btn-close.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.btn-modal {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    box-shadow: 6px 6px 15px rgba(255, 152, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out;
    margin: auto;
}

.btn-modal:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-modal:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-modal-add {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(145deg, #0d6efd, #4e92f6);
    box-shadow: 6px 6px 15px rgba(78, 146, 246, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out;
    margin: auto;
}

.btn-modal-add:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-modal-add:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

hr {
    margin: 1rem 0;
    color: #8f8f8f;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
}

.table {
    --bs-table-bg: #ffffff00 !important;
    --bs-table-color: #535560 !important;
    --bs-table-striped-color: #535560 !important;
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0);
    border-color: #ffffff00 !important;
    margin-bottom: .5rem;
}

.table td,.table th {
    padding:.5rem;
    vertical-align:middle;
    border-top: 0px solid rgba(143, 143, 143, 0.25);
}

.table thead th {
    vertical-align:bottom;
    border-bottom: 1px solid rgba(143, 143, 143, 0.25);
}

.table tbody+tbody {
    border-top:0px solid #c3c4c5
}

.table-sm td,.table-sm th {
    padding:.3rem
}

.table-bordered {
    border:1px solid #c3c4c5
}

.table-bordered td,.table-bordered th {
    border:1px solid #c3c4c5
}

.table-bordered thead td,.table-bordered thead th {
    border-bottom-width:2px
}

.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th {
    border:0
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color:rgba(0,0,0,.0)
}

.message-display-container {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 70px;
    left: 0px;
    padding-left: 15px;
    background-color: transparent;
    border: 0px solid transparent;
    z-index: 100;
    height: 400px;
    justify-content: space-between;
}

.message-display {
    flex-grow: 1; 
    width: 100%;
    height: auto;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 30%;
}

.message-display::-webkit-scrollbar {
    display: none;
}

.message-bubble {
    display: flex;
    align-items: center; /* Alinea verticalmente la imagen y el texto */
    width: fit-content; /* Se ajusta al tamaño del contenido */
    max-width: 80%; /* Limita el ancho al 80% del contenedor para evitar burbujas muy largas */
    padding: 5px; /* Espacio interno */
    padding-right: 10px;
    border-radius: 20px; /* Bordes redondeados */
    background-color: #ffffff; /* Fondo blanco */
    margin-bottom: 10px; /* Separación entre los mensajes */
    word-wrap: break-word; /* Permite que el texto se ajuste a múltiples líneas si es demasiado largo */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Agregar sombra */
    opacity: 0.8; /* Transparencia */
}

.message-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px; /* Asegúrate de que coincida con el borde de la burbuja */
    opacity: 0.8; /* Aplica opacidad solo al fondo */
    z-index: -1; /* Coloca esta capa detrás del contenido */
}

.profile-pic {
    width: 30px; /* Tamaño de la imagen de perfil */
    height: 30px;
    border-radius: 50%; /* Redondear imagen */
    margin-right: 10px; /* Espacio entre la imagen y el texto */
}

.message-bubble span {
    word-wrap: break-word; /* Ajustar el texto si es largo */
    line-height: 1.2; /* Separación entre las líneas si es multilineal */
    vertical-align: middle; /* Alineación vertical del texto */
}

.emoji-message-panel {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    padding-bottom: 5px;
    z-index: 100;
    text-align: center;
    display: grid;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.emoji-btn {
    background: linear-gradient(145deg, #ffffff, #ffffff);
    border: none;
    padding: 10px;
    margin: 3px;
    cursor: pointer;
    font-size: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.2s, box-shadow 0.2s; 
}

.emoji-btn:hover {
    background: rgba(255, 255, 255, 0.8); 
}

.emoji-btn:focus {
    outline: none; 
    box-shadow: none; 
}

.emoji-btn.disabled,
.emoji-btn:disabled {
    background-color: #ffffff;
    border-color: #ffffff;
}

.emoji-btn:not(:disabled):not(.disabled).active,
.emoji-btn:not(:disabled):not(.disabled):active,
.show > .emoji-btn.dropdown-toggle {
    background-color: #ffffff;
    border-color: #ffffff;
}

.emoji-btn:not(:disabled):not(.disabled).active:focus,
.emoji-btn:not(:disabled):not(.disabled):active:focus,
.show > .emoji-btn.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, 0.5);
}

.form-control-chat.message-input {
    height: 2.5rem;
    border-radius: 10rem;
    padding: 0 1rem;
    font-size: 0.8rem;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 4px solid #ff9800;
}

.btn-send {
    background: linear-gradient(145deg, #ffb74d, #ff9800);
    color: #ffffff;
    border-radius: 0 50px 50px 0;
    border: none;
    width: 35px;
    height: 2.5rem;
    font-size: 1rem;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    background-color: #FFC064;
    transform: scale(1.05);
}

.btn-send i {
    transition: transform 0.3s ease-in-out;
}

.btn-send:hover i {
    transform: scale(1.3);
}

.btn-send.focus,.btn-send:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.btn-send.disabled,.btn-send:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#ff9800
}

.btn-send:not(:disabled):not(.disabled).active,.btn-send:not(:disabled):not(.disabled):active,.show>.btn-send.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#ff9800
}

.btn-send:not(:disabled):not(.disabled).active:focus,.btn-send:not(:disabled):not(.disabled):active:focus,.show>.btn-send.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(255, 152, 0,.5)
}

.form-control:focus {
    color: #6e707e;
    background-color: #fff;
    border-color: #ff9800;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(255, 152, 0, .25);
}

.message-btn {
    background: linear-gradient(145deg, #2fcb53, #28a745);
    color: #ffffff;
    border: none;
    padding: 5px;
    outline: none; 
    margin: 5px 5px 5px 0px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    word-wrap: break-word;
    width: auto;
    font-size: 0.8rem;
    height: auto;
    border-radius: 50px;
}

.message-btn:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    background-color: #FFC064;
    transform: scale(1.05);
}

.message-btn:focus {
    outline: none; 
    box-shadow: none; 
}

.message-btn.disabled,
.message-btn:disabled {
    color: #fff;
    background-color: #2fcb53;
    border-color: #2fcb53;
}

.message-btn:not(:disabled):not(.disabled).active,
.message-btn:not(:disabled):not(.disabled):active,
.show > .message-btn.dropdown-toggle {
    color: #fff;
    background-color: #2fcb53;
    border-color: #2fcb53;
}

.message-btn:not(:disabled):not(.disabled).active:focus,
.message-btn:not(:disabled):not(.disabled):active:focus,
.show > .message-btn.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(73, 234, 95, .5);
}

.emoji-btn i {
    --fa-primary-color: #ff6347;
    --fa-secondary-color: #ffeb3b;
    --fa-secondary-opacity: 1;
}

.emoji-slider {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0px;
    align-items: center;
    scroll-behavior: smooth;
    width: 266px;
}

.emoji-slider::-webkit-scrollbar {
    display: none; 
}

.message-bubble-slider {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0px;
    align-items: center;
    scroll-behavior: smooth;
    width: 262px;
    padding: 0px 10px;
}

.message-bubble-slider::-webkit-scrollbar {
    display: none;
}

.last-numbers {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.last-numbers div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.last-numbers span {
    display: flex;
    gap: 5px;
    width: 180px;
}

.controls-board {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 50px;
    margin-top: 10px;
    position: fixed;
    bottom: 15px;
}

.controls-board div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls-board span {
    display: flex;
    gap: 5px;
    width: 180px;
}

.bingo-ball {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 50%;
    text-transform: uppercase;
    background-color: #909090;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.bingo-ball:hover {
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.bingo-ball span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
}

.bingo-ball::after {
    width: 80%;
    height: 80%;
}

.bingo-ball.size-30::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.size-30 {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .8rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.bingo-ball.size-40::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.size-40 {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.bingo-ball.size-50::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.size-50 {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.bingo-ball.size-60::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.5);
}

.size-60 {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.bingo-ball.size-70::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.5);
}

.size-70 {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.bingo-ball.size-80::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.5);
}

.size-80 {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.bingo-ball.size-90::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.5);
}

.size-90 {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.bingo-ball.size-100::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.5);
}

.size-100 {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
    line-height: 55px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.STOP { background-color: #909090; font-size: 1rem; }
.B { background-color: #FA5C93; }
.I { background-color: #F9AC0A; }
.N { background-color: #FBD60D; }
.G { background-color: #00BA71; }
.O { background-color: #22CBE6; }

/* Animación para escalar y rotar los emojis */
@keyframes emoji-bounce {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.emoji-message {
    display: inline-block;
    font-size: 1.5rem;
    animation: emoji-bounce 0.5s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.text-message {
    font-size: 0.8rem;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.confetti {
    position: fixed; /* Asegura que el confeti esté fijo en la ventana */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    animation: explode 3s forwards;
}

@keyframes explode {
    0% {
        transform: translateY(-100vh) rotate(0deg); /* Comienza fuera del viewport */
    }
    100% {
        transform: translateY(100vh) rotate(720deg); /* Cae a través del viewport */
    }
}

.countdown-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column; /* Cambiado de row (default) a column */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    pointer-events: none;
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background: linear-gradient(145deg, #FF66C4, #ff9800);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 6px 6px 15px rgba(255, 183, 77, 0.2), -6px -6px 15px rgba(255, 152, 0, 0.3);
    position: relative;
    animation: pulse 1s infinite;
}

#text-countdown {
    color: white;
    text-align: center;
    font-size: 1.5rem; /* Ajusta el tamaño de texto según sea necesario */
    margin-top: 20px; /* Espaciado entre el contador y el texto */
}


.game-finalized {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    z-index: 9999; /* Colocado sobre todo */
    pointer-events: none; /* No bloquea clics ni eventos en el fondo */
}

#finalized {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes burst {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotate(360deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.explosive-effect {
    font-size: 1.5rem;
    animation: burst 0.6s ease-in-out;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Para móviles pequeños */
@media (max-width: 480px) {
    .content-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
    }

    .one-carton .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .bingo-carton-number {
        font-size: 3.5vw;  /* Ajustar tamaño de texto */
        width: 7vw;  /* Ajustar tamaño de los números */
        height: 7vw;
    }

    .bingo-carton-header {
        font-size: 3.5vw;
        width: 7vw;  /* Ajustar tamaño de los números */
        height: 7vw;
    }

    .center-section .cartons-section {
        padding-bottom: 100px;
    }

    .board-section {
        padding-bottom: 120px;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }

    #finalized {
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        position: relative;
        animation: pulse 1s infinite;
    }
}

/* Para móviles grandes */
@media (min-width: 481px) and (max-width: 700px) {
    .content-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton, .two-cartons .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        height: 100%;
    }

    .one-carton, .two-cartons .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton, .two-cartons .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }


    .bingo-carton-number {
        font-size: 2vw;  /* Ajustar tamaño de texto */
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .bingo-carton-header {
        font-size: 2vw;
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .cartons-section {
        height: calc(90vh - 296px) !important;
    }

    .center-section .cartons-section .board-section {
        padding-bottom: 150px !important;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }
}

/* Para tabletas */
@media (min-width: 701px) and (max-width: 1024px) {
    .content-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton, .two-cartons .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        height: 100%;
    }

    .one-carton, .two-cartons .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton, .two-cartons .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }


    .bingo-carton-number {
        font-size: 2vw;  /* Ajustar tamaño de texto */
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .bingo-carton-header {
        font-size: 2vw;
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .center-section .cartons-section .board-section {
        padding-bottom: 130px;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }
}

/* Para escritorios pequeños */
@media (min-width: 1025px) and (max-width: 1280px) {
    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .max-w-20 {max-width: 20% !important;width: 20% !important; margin: auto;}.max-w-25 {max-width: 25% !important;width: 25% !important; margin: auto;}.max-w-30 {max-width: 30% !important;width: 30% !important; margin: auto;}.max-w-35 {max-width: 35% !important;width: 35% !important; margin: auto;}.max-w-40 {max-width: 40% !important;width: 40% !important; margin: auto; margin: auto;}.max-w-45 {max-width: 45% !important;width: 45% !important; margin: auto;}.max-w-50 {max-width: 50% !important;width: 50% !important; margin: auto;}.max-w-55 {max-width: 55% !important;width: 55% !important; margin: auto;}.max-w-60 {max-width: 60% !important;width: 60% !important; margin: auto;}.max-w-65 {max-width: 65% !important;width: 65% !important; margin: auto;}.max-w-70 {max-width: 70% !important;width: 70% !important; margin: auto;}.max-w-75 {max-width: 75% !important;width: 75% !important; margin: auto;}.max-w-80 {max-width: 80% !important;width: 80% !important; margin: auto;}.max-w-85 {max-width: 85% !important;width: 85% !important; margin: auto;}.max-w-90 {max-width: 90% !important;width: 90% !important; margin: auto;}.max-w-95 {max-width: 95% !important;width: 95% !important; margin: auto;}
}

/* Para escritorios grandes */
@media (min-width: 1281px) {
    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .max-w-20 {max-width: 20% !important;width: 20% !important; margin: auto;}.max-w-25 {max-width: 25% !important;width: 25% !important; margin: auto;}.max-w-30 {max-width: 30% !important;width: 30% !important; margin: auto;}.max-w-35 {max-width: 35% !important;width: 35% !important; margin: auto;}.max-w-40 {max-width: 40% !important;width: 40% !important; margin: auto; margin: auto;}.max-w-45 {max-width: 45% !important;width: 45% !important; margin: auto;}.max-w-50 {max-width: 50% !important;width: 50% !important; margin: auto;}.max-w-55 {max-width: 55% !important;width: 55% !important; margin: auto;}.max-w-60 {max-width: 60% !important;width: 60% !important; margin: auto;}.max-w-65 {max-width: 65% !important;width: 65% !important; margin: auto;}.max-w-70 {max-width: 70% !important;width: 70% !important; margin: auto;}.max-w-75 {max-width: 75% !important;width: 75% !important; margin: auto;}.max-w-80 {max-width: 80% !important;width: 80% !important; margin: auto;}.max-w-85 {max-width: 85% !important;width: 85% !important; margin: auto;}.max-w-90 {max-width: 90% !important;width: 90% !important; margin: auto;}.max-w-95 {max-width: 95% !important;width: 95% !important; margin: auto;}
}

/* 😊 Feliz (Salto suave) */
.emoji-btn:focus, .emoji-btn:hover { animation: bounce 0.6s ease-in-out infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 😢 Triste (Latido lento y encogido) */
.emoji-btn:nth-child(2):focus, .emoji-btn:nth-child(2):hover { animation: sadPulse 0.8s ease-in-out infinite; }
@keyframes sadPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.9); }
}

/* 🤯 Sorprendido (Sacudida rápida) */
.emoji-btn:nth-child(3):focus, .emoji-btn:nth-child(3):hover { animation: shake 0.5s ease-in-out infinite; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* 😂 Risa (Rebote de risa) */
.emoji-btn:nth-child(4):focus, .emoji-btn:nth-child(4):hover { animation: laughBounce 0.4s ease-in-out infinite; }
@keyframes laughBounce {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(-10deg); }
}

/* 😍 Enamorado (Latido grande) */
.emoji-btn:nth-child(5):focus, .emoji-btn:nth-child(5):hover { animation: heartbeat 0.6s ease-in-out infinite; }
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 🥺 Suplicante (Temblor pequeño) */
.emoji-btn:nth-child(6):focus, .emoji-btn:nth-child(6):hover { animation: tinyShake 0.3s ease-in-out infinite; }
@keyframes tinyShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(2px); }
}

/* 🤔 Pensativo (Cabeceo lateral) */
.emoji-btn:nth-child(7):focus, .emoji-btn:nth-child(7):hover { animation: headTilt 0.5s ease-in-out infinite; }
@keyframes headTilt {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(8deg); }
}

/* 🙄 Fastidio (Giro de ojos) */
.emoji-btn:nth-child(8):focus, .emoji-btn:nth-child(8):hover { animation: eyeRoll 0.8s ease-in-out infinite; }
@keyframes eyeRoll {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(15deg); }
}

/* 🧐 Curioso (Zoom de inspección) */
.emoji-btn:nth-child(9):focus, .emoji-btn:nth-child(9):hover { animation: zoomIn 0.4s ease-in-out infinite; }
@keyframes zoomIn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 😘 Beso (Inclinación con zoom) */
.emoji-btn:nth-child(10):focus, .emoji-btn:nth-child(10):hover { animation: kiss 0.6s ease-in-out infinite; }
@keyframes kiss {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.1) rotate(-10deg); }
}

/* 😜 Travieso (Lengua afuera) */
.emoji-btn:nth-child(11):focus, .emoji-btn:nth-child(11):hover { animation: tongueOut 0.5s ease-in-out infinite; }
@keyframes tongueOut {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 😅 Nervioso (Sacudida ligera) */
.emoji-btn:nth-child(12):focus, .emoji-btn:nth-child(12):hover { animation: nervousShake 0.4s ease-in-out infinite; }
@keyframes nervousShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* 😨 Asustado (Sacudida intensa) */
.emoji-btn:nth-child(13):focus, .emoji-btn:nth-child(13):hover { animation: scaredShake 0.3s ease-in-out infinite; }
@keyframes scaredShake {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 😎 Genial (Zoom y giro) */
.emoji-btn:nth-child(14):focus, .emoji-btn:nth-child(14):hover { animation: coolZoom 0.4s ease-in-out infinite; }
@keyframes coolZoom {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.2) rotate(-5deg); }
}

/* 🤪 Loco (Onda divertida) */
.emoji-btn:nth-child(15):focus, .emoji-btn:nth-child(15):hover { animation: crazyWave 0.5s ease-in-out infinite; }
@keyframes crazyWave {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(15deg); }
}