/*
  File: css/loading.css
  Purpose: Styles for the initial application loading screen.
  Project: Desktop Environment Application
  Author: AI
  Last Updated: 2024-08-15T12:00:00Z
*/

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex; /* Visible by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    color: #ccc;
    font-family: var(--global-font-family, sans-serif);
}

#loading-screen.hidden {
    display: none; /* Hide when this class is added */
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left-color: #0078d4;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 