/* VR-specific styles */

.vr-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid #fff;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vr-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.vr-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hide 2D UI elements in VR mode */
body.vr-mode .toolbar,
body.vr-mode .right-sidebar,
body.vr-mode .paper-details,
body.vr-mode #menu,
body.vr-mode #position_display,
body.vr-mode .sidebar-toggle,
body.vr-mode .celeste-helper,
body.vr-mode #year-filter-controls,
body.vr-mode #slice-panel {
    display: none !important;
}

/* Show VR-specific UI elements in VR mode */
body.vr-mode #vr-ui-container,
body.vr-mode #vr-exit-container {
    display: block !important;
}

/* VR instructions overlay */
.vr-instructions {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    z-index: 2000;
    display: none;
    max-width: 500px;
    border: 2px solid #00ffff;
}

.vr-instructions.show {
    display: block;
}

.vr-instructions h3 {
    margin: 0 0 20px 0;
    color: #00ffff;
    font-size: 24px;
}

.vr-instructions p {
    margin: 15px 0;
    line-height: 1.6;
    font-size: 16px;
}

.vr-instructions .controls {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.vr-instructions .control-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    padding: 8px 0;
    font-size: 14px;
}

.vr-instructions .control-item span:first-child {
    font-weight: bold;
    color: #00ffff;
}

.vr-instructions .close-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: #00ffff;
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.vr-instructions .close-btn:hover {
    background: #00cccc;
    transform: scale(1.05);
}

/* VR UI Panels - These will be converted to 3D objects */
.vr-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    color: white;
    font-family: Arial, sans-serif;
    min-width: 200px;
}

.vr-panel h3 {
    margin: 0 0 15px 0;
    color: #00ffff;
    text-align: center;
    font-size: 18px;
}

.vr-panel .vr-button {
    position: static;
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    color: white;
    font-size: 16px;
    text-align: center;
}

.vr-panel .vr-button:hover {
    background: rgba(0, 255, 255, 0.4);
    transform: none;
}

#vr-position-display {
    font-family: monospace;
    font-size: 14px;
}

#vr-position-display div {
    margin: 8px 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* VR Exit Button */
.vr-exit-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: 2px solid #ff0000;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    z-index: 3000;
    transition: all 0.3s ease;
}

.vr-exit-btn:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.05);
} 