header,
.navbar,
.main-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


.viewer-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.viewer-logo {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.viewer-btn {
    background: #1e88e5;
    border: none;
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.viewer-btn:hover {
    background: #1565c0;
}

model-viewer {
    width: 100vw;
    height: 100vh;
    --poster-color: transparent;
    background: transparent;
}

.viewer-footer {
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.control-panel {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.control-panel button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.control-panel button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.control-panel button.active {
    background: #1e88e5;
    border-color: #1e88e5;
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.6);
}

.control-panel i {
    pointer-events: none;
}