@import './styles/cabinet.MCC.scss';
@import './styles/cabinet.G250.scss';
@import './styles/cabinet.G350.scss';
@import './styles/cabinet.G430.scss';
@import './styles/cabinet.G450.scss';
@import './styles/cabinet.G650.scss';
@import './styles/cabinet.G700.scss';

.cabinet-container {
    position: relative;
    .cabinet-name {
        text-align: center;
        font-size: 28px;
        color: #2a2a2a;
        line-height: 29px;
        font-weight: bold;
        font-family: "Helvetica";
        margin-bottom: 10px;
    }
    .cabinet {
        position: relative;
    
        img {
            width: 100%;
            height: auto;
        }
    
        .slots {
            position: absolute;
    
            &.selected .slot {
                opacity: 0.6;
            }
    
            .slot {
                display: inline-block;
                position: absolute;
                overflow: hidden;
                z-index: 1;
                border: 2px solid transparent;
                box-shadow: 0 0 0px 0 rgba(2, 23, 45, 0.75);
                transform: scale(1);
    
                transition-timing-function: linear;
                transition-duration: 200ms;
                animation-direction: alternate;
                transition-property: z-index, box-shadow, opacity, transform, border-width;
    
                &.hasBoard {
                    cursor: pointer;
    
                    &:hover,
                    &.zoom {
                        opacity: 1;
                    }
    
                    &.zoom {
                        z-index: 100;
                        border: 2px solid #2c7fff;
                        transform: scale(1.43);
                        box-shadow: 0 0 18px 0 rgba(2, 23, 45, 0.75);
                    }
                }
    
                .board {
                    width: 100%;
                    height: 100%;
                    border-radius: 0.4vw;
                    pointer-events: none;
                }
            }
        }
    }
    
}
