/* CSS cho reel360.css */
.reel360-container {
    position: relative;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.reel360-container:active {
    cursor: grabbing;
}

.reel360-frame {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.reel360-show-how-to {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 10;
}

.reel360-instruction-box {
    position: relative;
    width: 300px;
    height: 170px;
    background-color: #4545458a;
    border-radius: 1em;
}

.reel360-instruction-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    min-width: 140px;
    font-size: 1.2em !important;
}

.reel360-instruction-content .mb-0 {
    margin-bottom: 0;
}

.reel360-instruction-content svg {
    opacity: 0.8;
}

/* Button Styles */
.reel360-fullscreen-btn,
.reel360-close-btn {
    position: absolute;
    top: 5%;
    right: 5%;
    border-radius: 6px;
    padding: 8px;
    margin: 0;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    
}



/* Fullscreen specific styles */
.reel360-container.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: #000 !important;
    border-radius: 0 !important;
    padding-top: 0 !important;
}

.reel360-container.fullscreen .reel360-frame {
    object-fit: contain;
}


