#viewer-initial-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6f6e6e;
    margin: 0;
    z-index: 1;
}

#stl-file-input {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

#viewer-dimensions-display {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 12px;
    z-index: 10;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: border-color 0.2s;
}

.color-swatch:hover {
    border-color: #333;
}

#loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: red;
}

#ps-validation-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(220, 53, 69, 0.85);
    padding: 15px 25px;
    border-radius: 5px;
    text-align: center;
}

/* Utility class for hiding elements */
.ps-hidden {
    display: none !important;
}

/* Default display states */
#viewer-controls-container,
#ps-viewer-instructions {
    display: flex;
}

#summary-supports-info,
#summary-verification-info,
#ps-filename-display,
#printservice-options-wrapper,
#viewer-dimensions-display {
    display: block;
}
