/* new loading screen */

#divErrorScreen {
    position: fixed;
    top: 200px;
    left: 300px;
    z-index: 9999;
}

#loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px; /* Set a fixed width */
}

#loader-animate {
    border: 16px solid #444;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

.light-theme #loader-animate {
    border: 16px solid #ccc;
    border-top: 16px solid #3498db;
}

#loader-text {
    font-size: 20px;
    white-space: nowrap;
    text-align: center;
    position: relative;
}

#loading-ellipses {
    position: absolute;
    left: 100%;
    width: 30px;
    text-align: left;
    margin-left: 5px;
    letter-spacing: 1px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ellipsis {
	0% { content: "."; }
	33% { content: ".."; }
	66% { content: "..."; }
	100% { content: ""; }
}

.light-theme .loader-logo-svg {
	filter: invert(100%);
}

/* end new loading screen */