@font-face {
    font-family: MyLight;
    src: url('../utils/font/NexaRegular.otf');
}

/* loader.css */
div#loaderdiv {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container {
    display: flex;
    flex-direction: column; /* vertical stack */
    align-items: center;    /* horizontal center */
    gap: 15px;              /* Abstand zwischen Loader und Status */
    max-width: 300px;       /* optional: um zu breite Texte zu verhindern */
    text-align: center;
}

.loader {
    width: 70px;
    height: 70px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loader-status {
    font-family: MyLight;
    color: white;
    font-size: 14px;
    max-height: none;   /* Container wächst mit Inhalt */
    overflow-y: visible; /* kein Scrollen */
    width: 100%;
    word-wrap: break-word; /* lange Texte umbrechen */
}