@use '@angular/material' as mat; .calendar-year { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-evenly; width: 100%; max-width: 100%; position: relative; } .loading-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.9); display: flex; justify-content: center; align-items: center; border-radius: 4px; z-index: 1000; @media (prefers-color-scheme: dark) { background-color: rgba(0, 0, 0, 0.7); } } .loading-spinner { display: flex; flex-direction: column; align-items: center; gap: 16px; p { font-size: 16px; font-weight: 500; color: #333; margin: 0; @media (prefers-color-scheme: dark) { color: #ddd; } } } .spinner-container { position: relative; display: inline-block; ::ng-deep .mat-mdc-progress-spinner { // Override Material spinner size width: 100px; height: 100px; } .spinner-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 20px; font-weight: bold; color: #333; pointer-events: none; @media (prefers-color-scheme: dark) { color: #ddd; } } } .card { margin: 16px; }