/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.scene-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f9;
    color: #333;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #004A7C; /* ABB brand-like color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.scene-wrapper p {
    font-size: 1.2em;
    color: #004A7C; /* ABB brand-like color */
}

/* Dark Theme */
body[data-theme="Dark"] .scene-wrapper {
    background-color: #1e1e2e;
    color: #ffffff;
}

body[data-theme="Dark"] .spinner {
    border: 5px solid #333;
    border-top: 5px solid #81b3d2; /* Adjusted color for dark mode */
}

body[data-theme="Dark"] .scene-wrapper p {
    color: #81b3d2; /* Adjusted text color for visibility */
}