
.sidebar .nav.sub-menu .nav-item {
    padding: 0;
    position: relative;
    color: white !important;
}


.navbar-nav > #navbarSearch input{
    margin-bottom: 0 !important;
}

.modal .modal-dialog{
    margin-top: 1rem;
}

.swal2-modal .swal2-icon, .swal2-modal .swal2-success-ring {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.card-header{
    align-items: center !important;

}
.card-header h5{
    margin-bottom: 0 !important;
}



/* ================> Slot Empty <===============  */
:root {
    --depth: 200;
}

.slot-container {
    width: 90vw;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    perspective: calc(var(--depth, 200) * 2); /* Dinámico basado en el contenedor */
    margin: auto;
    touch-action: none;
}

.slot {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
    transform: translateZ(0); /* Fuerza aceleración de hardware */
}

.slot-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.2);
    background-image: url('https://www.transparenttextures.com/patterns/dark-wood.png'), linear-gradient(rgba(101, 58, 20, 0.2), rgba(101, 58, 20, 0.2));
    background-blend-mode: multiply;
    background-size: cover;
    border: 2px dashed #8B4513;
    box-shadow:
            inset 0 0 10px rgba(205, 133, 63, 0.2),
            0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8f4e3;
    font-size: clamp(14px, 4vw, 22px);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
    padding: clamp(10px, 5vw, 32px);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    text-align: center;
}

.slot-front  { background-color: rgba(139, 69, 19, 0.25); }
.slot-back   { background-color: rgba(101, 58, 20, 0.25); }
.slot-right  { background-color: rgba(139, 69, 19, 0.15); }
.slot-left   { background-color: rgba(101, 58, 20, 0.15); }
.slot-top    { background-color: rgba(139, 69, 19, 0.1); }
.slot-bottom { background-color: rgba(101, 58, 20, 0.1); }



/* Transformaciones con profundidad dinámica */
.slot-back {
    transform: rotateY(180deg) translateZ(50%);
}
.slot-right {
    transform: rotateY(90deg) translateZ(50%);
}
.slot-left {
    transform: rotateY(-90deg) translateZ(50%);
}
.slot-top {
    transform: rotateX(90deg) translateZ(50%);
}
.slot-bottom {
    transform: rotateX(-90deg) translateZ(50%);
}

/* Ajustes móviles */
@media (max-width: 480px) {
    .slot-container {
        width: 95vw;
        max-width: 95vw;
    }
    .slot-face {
        font-size: 14px;
        padding: 10px;
    }
    .slot-back,
    .slot-right,
    .slot-left,
    .slot-top,
    .slot-bottom {
        transform-origin: center;
    }
}

@media (hover: none) {
    .slot:hover {
        transform: rotateY(0deg) rotateX(0deg);
    }
    .slot:active {
        transform: rotateY(10deg) rotateX(10deg);
    }
}
/* ================> Slot Empty <===============  */



@media (max-width: 480px) {
    .navbar .navbar-brand-wrapper {
        background: white !important;
        max-height: 65px !important;
    }
}


.img-empty{
    width: 100%;
    max-width: 100%;
    max-height: 300px !important;
    display: flex !important;
    justify-content: center !important;
}

.img-empty > img{
    max-width: 100%;
    max-height: 100% !important;
    object-fit: contain !important;
}



