.rgc-360-viewer-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100% !important;
    min-height: 300px;
    max-width: 100%;
}

.rgc-360-viewer {
    position: relative;
    width: 100% !important;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    background-color: #fbfbf2;
    border-radius: 8px;
    display: block !important;
}

.rgc-360-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.rgc-360-canvas:active {
    cursor: grabbing;
}

.rgc-360-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #bf0e14;
    font-size: 18px;
    font-weight: 600;
    z-index: 10;
}

.rgc-360-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(191, 14, 20, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rgc-360-hint {
        font-size: 12px;
        padding: 8px 16px;
        bottom: 10px;
    }
}

/* Loading animation */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.rgc-360-loading::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    border: 3px solid #f1928f;
    border-top-color: #bf0e14;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}