@media (min-width: 800px) {
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #282b30; /* Background color for the body */
}
.auth-block {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-container {
    position: relative;
    display: flex;
    justify-content: center; /* Center the items */
    width: 100%;
    max-width: 100% !important; /* Max width for larger screens */
    height: auto; /* Allow height to adjust */
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 50px;
    background: #2c2f33;
}


.auth-qr {
    display: flex;          
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
}

.auth-qr img {
    width: 150px; /* Fixed width for the QR code */
    height: 150px; /* Fixed height for the QR code */
        margin-left: 40px;

}

.auth-qr-text {
    margin-top: 20px; /* Space between image and text */
    text-align: center; /* Center the text */
            margin-left: 40px;

}

.auth-input {
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #1E1F22;
    color: white;
}

.auth-input:focus {
    outline: none;
}

.auth-button {
    background-color: #3964f8;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 10px;
}

.auth-button:hover {
    background-color: #5b6eae;
}

.auth-link {
    color: #00b0f4;
    text-decoration: none;
    font-size: 13px;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-header {
    display: flex;          
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
}

.auth-password {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 22px;
}

.auth-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 14px;
}

.auth-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 48px;
}

   .spinner {
        display: none; /* Hide spinner by default */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
    }
    .auth-row {
        display: flex;
        width: 100%;
        gap: 20px; /* Optionnel : espace entre les colonnes */
    }
    
    .auth-col {
        flex: 1 1 100%; /* Par défaut, chaque colonne prend toute la largeur */
        box-sizing: border-box;
        padding: 15px;
    }
    
}
@media (max-width: 768px) {
    body, html {
        height: 100%;
        margin: 0;
        font-family: Arial, sans-serif;
        color: white;
        background-color: #282b30;
    }

    .auth-container {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        box-shadow: none;
        background: transparent;
    }

    .auth-row {
        display: flex;
        flex-direction: column;
    }

    .auth-qr {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 0;
    }

    .auth-form {
        order: 1;
    }

    .auth-qr img {
        width: 150px;
        height: 150px;
    }

    .auth-qr-text {
        margin-top: 20px;
        text-align: center;
    }

    .auth-header {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .auth-header h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .auth-input {
        width: 100%;
        padding: 15px;
        margin-bottom: 15px;
        font-size: 16px;
        background-color: #1E1F22;
        border: none;
    }

    .auth-button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        margin-top: 10px;
    }

    .auth-link {
        font-size: 14px;
        text-align: center;
        display: block;
        margin: 15px 0;
    }

    .auth-footer {
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }

    .auth-password,
    .auth-login {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .auth-login {
        margin-top: 20px;
    }
}



