@charset "UTF-8";

/* Common Styles for Iframe Models */
body {
    margin: 0;
    overflow: hidden;
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.viewer-container,
#canvas-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
}

/* Controls Overlay */
.controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.btn-group {
    display: inline-flex;
    gap: 10px;
    pointer-events: auto;
    /* Removed container styling per user request */
    background: transparent;
    padding: 0;
    border: none;
    backdrop-filter: none;
}

button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
}

button:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Local Loader for each 3D Model */
.model-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 1px;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.model-loader.hidden {
    opacity: 0;
    display: none;
}

/* Model Name Label */
.model-name {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
}