@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --accent-color: #e74c3c;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body { 
    margin: 0;
    overflow: hidden;
    font-family: 'Roboto', Arial, sans-serif;
    background: #f5f5f5; /* Light gray background */
    color: var(--dark-color);
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#viewer {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
}

button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    background: #3498db;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Labels button */
#labelsBtn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    left: auto;
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    button {
        padding: 12px 24px;
        font-size: 14px;
        bottom: 20px;
    }
    
    #labelsBtn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .label {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Button icon styling */
button i {
    margin-right: 8px;
}

/* Component labels */
.label {
    position: absolute;
    color: #2c3e50;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.label.hidden {
    opacity: 0;
}