.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    /* Flexbox com vendor prefixes */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    /* Fallback para navegadores sem flexbox */
    text-align: center;
    /* Garantir que ocupa toda a viewport */
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    /* Posicionamento absoluto como fallback */
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    /* Garantir que está sempre visível */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner i.mdi-reload {
    font-size: 60px;
    color: transparent;
    
    /* Suavizar pontas */
    text-shadow: 0 0 2px rgba(255,255,255,0.4);
    /* Melhorar renderização */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Animation com vendor prefixes */
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    -o-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* Keyframes com vendor prefixes */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

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

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

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