html, body {
    margin: 0;
    height: 100%;
    /* background: #000; */
}

model-viewer {
    width: 100%;
    height: 100%;
    /* background-color: #000; */
}

.hotspot {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.message-box {
    position: absolute;
    display: none;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: sans-serif;
    max-width: 200px;
}

.logo-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(240, 240, 240, 0.9);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.logo-container:hover {
    background: rgba(240, 240, 240, 1);
    transform: scale(1.02);
}

.logo {
    width: 250px;
    height: auto;
    display: block;
}

.controls-container {
    position: absolute;
    top: 140px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    background: rgba(240, 240, 240, 0.9);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.checkbox-container:hover {
    background: rgba(240, 240, 240, 1);
    transform: scale(1.02);
}

.custom-checkbox {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    user-select: none;
}

.checkbox-icon {
    width: 20px;
    height: 20px;
    transition: all 0.2s ease;
    opacity: 0.3;
    filter: grayscale(100%);
}

.custom-checkbox:checked + .checkbox-label .checkbox-icon {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.checkbox-text {
    font-weight: 500;
    transition: color 0.2s ease;
}

.custom-checkbox:checked + .checkbox-label .checkbox-text {
    color: #0d6e38;
}

.autoplay-container {
    position: relative;
    overflow: hidden;
}

.autoplay-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.autoplay-container .custom-checkbox:checked ~ .autoplay-progress-bar {
    opacity: 1;
}

.autoplay-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0d6e38 0%, #28a745 100%);
    width: 0%;
    border-radius: 0 0 8px 8px;
}

.dropdown-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(240, 240, 240, 0.9);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: block;
}

.dropdown-icon:hover {
    background: rgba(240, 240, 240, 1);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.dropdown-icon:active {
    transform: scale(0.95);
    background: rgba(200, 200, 200, 1);
}

.dropdown-menu {
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(17, 17, 17, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1001;
}

.dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 12px 16px;
    color: #fff;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: sans-serif;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}